How To
Documentation
    Learn More

      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

      ParamTypeDetails
      eventstring

      The name of the event to be listened to

      hideboolean

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

      showboolean

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

      Example

      Source

      
      
      

      Demo