API Docs for: 5.0.3
Show:

ControlChanger Class

Module: UI

Helper for changing controlClass for given element with preserving data source, it can e.g. switch between two variants of displaying tracklist.

Constructor

ControlChanger

(
  • element
  • [controlParams]
)

Parameters:

  • element HTMLElement

    Given element to be binded to

  • [controlParams] Object optional

    Initial parameters, to be passed to the controlClass during control initialization

Item Index