This directive allows you to hide or show the widget, or part of it. If the specified condition is not satisfied, the elements are removed from the Document Object Model (DOM).
The following example enables a block of a widget if a set condition is met.
This directive allows you to hide or show the widget, or part of it. If the specified condition is not satisfied, the hidden elements remain in the Document Object Model (DOM).
In this example, the directive defines the current day of the week and displays a corresponding phrase “It's Friday!” in the widget.