Docs4dev
Docs
Docs4dev
  • Tools
  • Privacy
  • GitHub

Search

Loading search index…

No recent searches

No results for "Query here"

  • to select
  • to navigate
  • to close

Search by FlexSearch

On this page

On this page
ember / 2 / classes / linkcomponent.html

Class LinkComponent

public
Extends: 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

  • didInsertElement
  • didReceiveAttrs
  • didRender
  • didUpdate
  • didUpdateAttrs
  • willClearRender
  • willDestroyElement
  • willInsertElement
  • willRender
  • willUpdate

© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/2.18/classes/LinkComponent

  • Privacy Policy
  • 蜀ICP备14021783号-6
  • Brought to you by Docs4dev