Skip to main content

styled_binding

Function styled_binding 

Source
pub fn styled_binding(component: &str) -> String
Expand description

The class a component’s Style: is scoped to, and which its own elements carry. The server walk stamps the same class, or the two would render the same page with different class lists. The module binding holding whether this component’s stylesheet has been emitted in the CURRENT paint. A Style: block is one <style> per component TYPE per render pass, however many instances render: the first instance to render claims it, and a new paint clears the claims.