Constructs an instance of UFTrackStateShow
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.
Value to use for the display style when the element should be shown. Use 'auto' to use the initial display value at the element.
UFTrackStateShow can be used to track a boolean property and show an element accordingly.
Show in the element when the property gets
true
and hide the element when it getsfalse
.