手动生成的<a href="/link"> code in Ember

时间:2017-12-06 21:57:52

标签: ember.js

How can I manually create links at runtime and have them not cause a page reload?

For example at runtime I want to be able to do

<a href='/mylink'>My Link</a>

and click that link and cause it to route properly, without a page reload. I am aware that this is terrible practice, but I have a very specific use case.

Possible useful link: https://github.com/emberjs/ember.js/issues/10979

0 个答案:

没有答案