BemElementConfig
Defined in: packages/webcomponents/src/types.js:19
Properties
Section titled “Properties”block?
Section titled “block?”
optionalblock?:string|false
Defined in: packages/webcomponents/src/types.js:22
Override the block for the host’s own class:
a string sets it explicitly, false makes element its own block (a root);
omit to inherit the block from context. Descendants always re-root to element.
element
Section titled “element”element:
string
Defined in: packages/webcomponents/src/types.js:20
The element name; also becomes the block for descendants.
modifiers?
Section titled “modifiers?”
optionalmodifiers?:string[]
Defined in: packages/webcomponents/src/types.js:21
Attribute names observed and applied as BEM modifiers.
