LinkComponent#rel

relpublic Defined in packages/ember-htmlbars/lib/components/link-to.js:373 Sets the rel attribute of the LinkComponent's HTML element. Default: null

LinkComponent#loadingHref

loadingHrefStringprivate Defined in packages/ember-htmlbars/lib/components/link-to.js:759 The default href value to use while a link-to is loading. Only applies when tagName is 'a' Default: #

LinkComponent#loadingClass

loadingClassStringprivate Defined in packages/ember-htmlbars/lib/components/link-to.js:412 The CSS class to apply to LinkComponent's element when its loading property is true. Default: loading

LinkComponent#init()

initprivate Inherited from Ember.ViewTargetActionSupport but overwritten in packages/ember-htmlbars/lib/components/link-to.js:497 An overridable method called when LinkComponent objects are instantiated. Example: App.MyLinkComponent = Ember.LinkComponent.extend({ init: function() { this._super(...arguments); Ember.Logger.log('Event is ' + this.get('eventName')); } }); NOTE: If you do override init for a framework class like Ember.View, be sure to call this._super(...arguments)

LinkComponent#href

hrefprivate Defined in packages/ember-htmlbars/lib/components/link-to.js:695 Sets the element's href attribute to the url for the LinkComponent's targeted route. If the LinkComponent's tagName is changed to a value other than a, this property will be ignored.

LinkComponent#eventName

eventNameStringprivate Defined in packages/ember-htmlbars/lib/components/link-to.js:469 By default the {{link-to}} component responds to the click event. You can override this globally by setting this property to your custom event name. This is particularly useful on mobile when one wants to avoid the 300ms click delay using some sort of custom tap event. Default: click

LinkComponent#disabledClass

disabledClassStringprivate Defined in packages/ember-htmlbars/lib/components/link-to.js:423 The CSS class to apply to a LinkComponent's element when its disabled property is true. Default: disabled

LinkComponent#disabled

disabledprivate Defined in packages/ember-htmlbars/lib/components/link-to.js:530 Accessed as a classname binding to apply the LinkComponent's disabledClass CSS class to the element when the link is disabled. When true interactions with the element will not trigger route changes.

LinkComponent#currentWhen

currentWhenpublic Inherited from Ember.LinkComponent but overwritten in packages/ember-htmlbars/lib/components/link-to.js:356 Used to determine when this LinkComponent is active.

LinkComponent#click event

clickprivate Defined in packages/ember-htmlbars/lib/components/link-to.js:487 Triggers the LinkComponent's routing behavior. If eventName is changed to a value other than click the routing behavior will trigger on that custom event instead.