Optional dropProtocol mode. Always BackendMode.Composed in this protocol.
Optional addOptional addOptional addInsert a style sheet item whose content comes from the specified path.
styleScope is an optional scope identifier. Returns the new style sheet index.
If styleScope is not a positive integer, it is treated as empty (globally effective).
Optional styleScope: numberOptional createCreate a normal node. Composed Mode only.
The node's own defined name.
The alias set when used.
Create a fragment node. Used to represent a node array for batch insertion and removal.
Optional createCreate a text node. Composed Mode only.
Optional elementOptional getOptional getGet the root node. In Composed Mode, the root node must be a normal node.
Optional getOptional modifySet the global event callback. This callback is the only one.
Composed Mode only; for Shadow Mode see the other onEvent signature.
Called when an event occurs.
Optional target: glassEasel.composedBackend.ElementOptional onOptional onOptional performanceOptional performanceRegister a style sheet.
path is the style sheet path, content is the corresponding CSS style sheet
in a format the backend can interpret.
If the CSS contains @import or similar references, the referenced content
may also be registered via another registerStyleSheetContent call,
either before or after this one.
Optional removeOptional removeWait for the next render to complete (align with the backend vsync). The backend must ensure the callback is asynchronous. Setting new properties inside the callback should trigger CSS transitions.
Optional replaceOptional replaceOptional resetOptional setOptional setOptional startOptional stop
A backend-provided object. Each Context instance can display a node tree on the screen.
In Composed Mode,
Contextprovides the core rendering context for glass-easel.