Home Reference Source
public class | source

DeviceButton

Extends:

Button → DeviceButton

Button to select recording device.

Method Summary

Public Methods
public

handleClick(event: EventTarget~Event)

This gets called when this button gets:

public

show()

Show the DeviceButton element if it is hidden by removing the 'vjs-hidden' class name from it.

Public Methods

public handleClick(event: EventTarget~Event) source

This gets called when this button gets:

  • Clicked (via the click event, listening starts in the constructor)
  • Tapped (via the tap event, listening starts in the constructor)

Params:

NameTypeAttributeDescription
event EventTarget~Event

The keydown, tap, or click event that caused this function to be called.

Listen:

*

tap

*

click

public show() source

Show the DeviceButton element if it is hidden by removing the 'vjs-hidden' class name from it.