-
Notifications
You must be signed in to change notification settings - Fork 18
rad href trigger
Steve Hannah edited this page Jul 9, 2021
·
1 revision
Used in conjunction with the rad-href attribute to specify the ActionNode.Category that should trigger the link to occur.
<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.
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.
-
rad-href attribute