ControlChanger Class
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
HTMLElementGiven element to be binded to
-
[controlParams]
Object optionalInitial parameters, to be passed to the controlClass during control initialization