A mixin class to apply on the superclass of a custom element,
such that it will automatically receive selected state updates from an ancestor <theoplayer-ui> element.
For each property name in props, the custom element MUST implement a corresponding property with a setter.
For example, if props equals ["player", "fullscreen"], then the element must have writable player and fullscreen
properties.
A mixin class to apply on the superclass of a custom element, such that it will automatically receive selected state updates from an ancestor
<theoplayer-ui>
element.For each property name in
props
, the custom element MUST implement a corresponding property with a setter. For example, ifprops
equals["player", "fullscreen"]
, then the element must have writableplayer
andfullscreen
properties.