How To
Documentation
    Learn More

      trigger:event

      Description

      Triggers $rootScope event on click

      Usage

      as attribute
      <ANY trigger-event="{string}"
           [trigger-delay="{string}"]>
         ...
      </ANY>

      Directive info

      • This directive creates new scope.

      Parameters

      ParamTypeDetails
      trigger-eventstring

      Name of the event to trigger

      trigger-delay
      (optional)
      string

      Milliseconds to delay event trigger

      Example