Transition to route in a button


#1

Is it possible to transition directly to another route from within a <button>...</button> or is using {{action '...'}} the only way?


#2

Yes, like this for example {{#link-to 'whatever-route-you-want' tagName='button'}}Change to another route{{/link-to}}


#3

Yes of course, I should have thought of that. Thanks for reminding me.