Class LinkComponent
publicExtends: | Component |
---|---|
Defined in: | packages/ember-glimmer/lib/components/link-to.ts:319 |
Module: | @ember/routing |
import LinkComponent from '@ember/routing/link-component';
LinkComponent
renders an element whose click
event triggers a transition of the application's instance of Router
to a supplied route by name.
LinkComponent
components are invoked with {{#link-to}}. Properties of this class can be overridden with reopen
to customize application-wide behavior.
Methods
- $
- addObserver
- cacheFor
- decrementProperty
- destroy
- didReceiveAttrs
- didRender
- didUpdate
- didUpdateAttrs
- get
- getProperties
- getWithDefault
- has
- incrementProperty
- init
- notifyPropertyChange
- off
- on
- one
- readDOMAttr
- removeObserver
- rerender
- send
- sendAction
- set
- setProperties
- toString
- toggleProperty
- trigger
- willDestroy
- willRender
- willUpdate
Properties
- actions
- activeClass
- ariaRole
- attributeBindings
- classNameBindings
- classNames
- concatenatedProperties
- current-when
- element
- elementId
- isDestroyed
- isDestroying
- isVisible
- layout
- mergedProperties
- positionalParams
- rel
- replace
- tabindex
- tagName
- target
- title
Events
© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/2.18/classes/LinkComponent