lifecycle:on

Description

Shows or hides elements when an event is broadcast

Usage

as element:
<lifecycle:on
       event="{string}"
       hide="{boolean}"
       show="{boolean}">
</lifecycle:on>

Parameters

Param Type Details
event string

The name of the event to be listened to

hide boolean

If true when the event is heard the elements will be hidden.

show boolean

If true when the event is heard the elements will be shown.

Example

Source



Demo