Skip to main content
Version: 4.x

vime-settings-control

A control for toggling the visiblity of the settings menu. This control is not displayed if no settings (vime-settings) has been provided for the current player.

Visual#

Vime settings control component

Usage#

<vime-player>
<!-- ... -->
<vime-ui>
<!-- ... -->
<vime-controls>
<!-- ... -->
<vime-settings-control></vime-settings-control>
</vime-controls>
</vime-ui>
</vime-player>

Properties#

PropertyAttributeDescriptionTypeDefault
expandedexpandedWhether the settings menu this control manages is open.booleanfalse
iconiconThe URL to an SVG element or fragment to load.string'#vime-settings'
menumenuThe DOM id of the settings menu this control is responsible for opening/closing.string ∣ undefinedundefined
tooltipDirectiontooltip-directionThe direction in which the tooltip should grow."left" ∣ "right" ∣ undefinedundefined
tooltipPositiontooltip-positionWhether the tooltip is positioned above/below the control."bottom" ∣ "top"'top'

Dependencies#

Used by#

Depends on#

Graph#

graph TD;
vime-settings-control --> vime-control
vime-settings-control --> vime-icon
vime-settings-control --> vime-tooltip
vime-default-controls --> vime-settings-control
style vime-settings-control fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS