App Studio

Version 4.1
How To
Documentation
    Learn More

      click:outside

      Description

      Calls function when a click event occurs outside of the element. Good for closing side panels, menus, etc.

      Usage

      as attribute
      <ANY click-outside="{expression}"
           [outside-if-not="{string}"]>
         ...
      </ANY>

      Parameters

      ParamTypeDetails
      click-outsideexpression

      Function to call when element is clicked outside of.

      outside-if-not
      (optional)
      string

      Selector to match any elements that should not trigger the click-outside function