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.

Show:

Module: ember

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.

Module: ember

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.

Module: ember

Called when the parentView property has changed.

Module: ember

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

Module: ember

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.

Module: ember

Called when a view is going to insert an element into the DOM.