Skip to content

bemBlockContext

const bemBlockContext: Context<symbol, string | undefined>

Defined in: packages/webcomponents/src/context.js:17

Context carrying the current BEM block down the DOM tree — undefined at the root, where a component’s element becomes the block. Built on the framework-agnostic Context Protocol (context-request events), so it interoperates with any library or element that speaks the protocol.