Protocol mode. Always BackendMode.Composed in this protocol.
Insert 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: numberSet 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.
Register 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.
Wait 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.
An empty backend implementation