@samselikoff wrote:
I’d like to make a
{{ui-link-to}}
component that basically extendsEmber.LinkComponent
but yields theactive
state, so I can use it in the block.Is there a simple way to do this?
I see LinkComponent has an
_active
property which I could{{yield}}
in my subclass, but that’s private.I’ve also used the router service in the past to make my own component that effectively reimplements
link-to
, but I’d like to avoid that if possible.Any ideas?
Posts: 2
Participants: 2