Skip to main content

cls__source__key

Function cls__source__key 

Source
pub fn cls__source__key(value: &str) -> String
๐Ÿ‘ŽDeprecated:

Use BROWSER__WEB_VITAL__CLS__SOURCE__KEY (browser.web_vital.cls.source.<key>) instead.

Expand description

Instantiates the <key> placeholder in the attribute CLS__SOURCE__KEY (cls.source.<key>) with a concrete value.

ยงExample

use relay_conventions::interpolate::cls__source__key;
assert_eq!(cls__source__key("foobar"), "cls.source.foobar");