LinkComponent#active

activeprivate

Defined in packages/ember-htmlbars/lib/components/link-to.js:570

Accessed as a classname binding to apply the LinkComponent's activeClass CSS class to the element when the link is active.

A LinkComponent is considered active when its currentWhen property is true or the application's current route is the route the LinkComponent would trigger transitions into.

The currentWhen property can match against multiple routes by separating route names using the (space) character.

doc_EmberJs
2016-11-30 16:52:22
Comments
Leave a Comment

Please login to continue.