UFTrackStateFade can be used to track a boolean property and fade in or fade out an element accordingly.
The fading is done by changing the transition and opacity styles of the element.
Constructs an instance of UFTrackStateFade
DOM element to add the enabled/disabled css class to.
An instance extending UFModel
The property name to track.
When true hide the element when property is true and show when the property becomes false.
Cleans up resources and removes any listeners.
UFTrackStateFade can be used to track a boolean property and fade in or fade out an element accordingly.
The fading is done by changing the transition and opacity styles of the element.