Skip to main content

SURFACE_COMPONENT

Constant SURFACE_COMPONENT 

Source
pub const SURFACE_COMPONENT: &str = "Surface";
Expand description

Component type name reserved for the implicit surface container.

createSurface instantiates it with child: "root"; it can never appear in an updateComponents list. It is meaningful in composition constraints: allowedParents: ["Surface"] restricts a component to being the root.