Skip to content

rad href trigger

Steve Hannah edited this page Jul 9, 2021 · 1 revision

rad-href-trigger attribute

Synopsis

Used in conjunction with the rad-href attribute to specify the ActionNode.Category that should trigger the link to occur.

Usage

<someEntityView rad-href="#TargetView" rad-href-trigger="ACTION_CATEGORY"/>

Where

TargetView

The name of the target view to navigate to.

ACTION_CATEGORY

An ActionNode.Category that should trigger the link.

Example

The following example is from the Tweetapp.

<twtsearchButton
    rad-href="#SearchForm"
    rad-href-trigger="TWTSearchButton.SEARCH_ACTION"
/>

This uses the <twtsearchButton> component which defines the action category SEARCH_ACTION that can be "subscribed" to to be notified when the user clicks on the button. We specify this action category in the rad-href-trigger attribute to have that action trigger the link.

See Also

  1. rad-href attribute

Clone this wiki locally