Class Ember.LinkView
Ember.LinkView
renders an element whose click
event triggers a
transition of the application's instance of Ember.Router
to
a supplied route by name.
Instances of LinkView
will most likely be created through
the link-to
Handlebars helper, but properties of this class
can be overridden to customize application-wide behavior.
click
Defined in packages/ember-routing/lib/helpers/link_to.js:145
Triggers the LinkView
's routing behavior. If
eventName
is changed to a value other than click
the routing behavior will trigger on that custom event
instead.
didInsertElement
Inherited from Ember.View packages/ember-views/lib/views/view.js:1634
Called when the element of the view has been inserted into the DOM or after the view was re-rendered. Override this function to do any set up that requires an element in the document body.
parentViewDidChange
Inherited from Ember.View packages/ember-views/lib/views/view.js:1783
Called when the parentView property has changed.
willClearRender
Inherited from Ember.View packages/ember-views/lib/views/view.js:1643
Called when the view is about to rerender, but before anything has been torn down. This is a good opportunity to tear down any manual observers you have installed based on the DOM state
willDestroyElement
Inherited from Ember.View packages/ember-views/lib/views/view.js:1734
Called when the element of the view is going to be destroyed. Override this function to do any teardown that requires an element, like removing event listeners.
willInsertElement
Inherited from Ember.View packages/ember-views/lib/views/view.js:1627
Called when a view is going to insert an element into the DOM.