Interactive - Component API
Here is the API for the component:
- href
This is the URL parameter that is passed down to the
<a>
element.- isHrefExternal
boolean
Default: true
This controls if the
<a>
link is external and so for security reasons we need to add thetarget="_blank"
andrel="noopener noreferrer"
attributes to it.- route/models/model/query/current-when/replace
These are the parameters that are passed down as arguments to the
<LinkTo>
/<LinkToExternal>
components.- isRouteExternal
boolean
Default: false
This controls if the "LinkTo" is external to the Ember engine (more details here) in which case it will use a
<LinkToExternal>
instead of a simple<LinkTo>
for the @route.- ...attributes
...attributes
spreading is supported on this component.