Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6

Engine Compatibility

close_notification is not supported by the Node engine.

close_notification(<selector>)

Attach a close event for a notification to an element or set of elements identified by the selector string that is the argument, where <selector>, is any valid JQuery Selector.

The following ruleset shows close_notification being used

ruleset a1299x166 {
  meta {
    name "Close Notification Example"
    author "Nathan Cerny"
    logging off
  }
  dispatch {
    //domain "docs.kynetx.com"
  }
  rule sticky_notification is active {
    select using ".*" setting ()
    {
        notify("Another way to...", '<a id="close_notification" href="#">Close Notification!</a>') with sticky = true;
        close_notification("#close_notification");
    }
  }
}

The following demonstrates the preceding rule:


  • No labels