@theoplayer/web-ui
    Preparing search index...

    Class TextTrackStyleDisplay

    A control that displays the value of a single text track style option in a human-readable format.

    <theoplayer-text-track-style-display>

    AttributeDescription

    lang

    The lang property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a BCP 47 language tag. It reflects the element's lang attribute; the xml:lang attribute does not affect this property.

    MDN Reference

    property

    The property name of the text track style option.

    One of TextTrackStyleOption.

    Hierarchy

    Index

    Other

    lang: string

    The lang property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a BCP 47 language tag. It reflects the element's lang attribute; the xml:lang attribute does not affect this property.

    MDN Reference

    rendering

    • Invoked on each update to perform rendering tasks. This method may return any value renderable by lit-html's ChildPart - typically a TemplateResult. Setting properties inside this method will not trigger the element to update.

      Returns HTMLTemplateResult