@byomakase/omakase-player
    Preparing search index...

    Class ControlBar

    Public API of a standalone control bar

    Implements

    Index

    Constructors

    Accessors

    Methods

    • Sets an attribute of a component of the control bar, or removes it when value is undefined

      Parameters

      • componentId: string

        id attribute of the component

      • attribute: string

        Attribute name

      • value: string | undefined

        Attribute value

      Returns void

    • Sets the key of a component's keyboard shortcut, overriding the key of its action, or restores the action's key when undefined

      Parameters

      • componentId: string

        id attribute of the component

      • shortcut: string | undefined

        Key string, e.g. Shift+J

      Returns void