問題タブ [angular-routerlink]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
angular - [routerLink] angular 2でルートパラメータを渡す方法
angular 2でアプリケーションを作成しようとしています.[routerLink]でタグ付けするパラメータを渡したいのですが、次のようなリンクを作成したいです:
cell
テンプレートを渡す方法がわかりません...
angular - RouterLink with multiple params in Angular
I want to create a link to the route with multiple parameters and bind them in tempalte. Until now, I've been doing this by executing the function on (click)
event, but I was wondering if it's possible within RouterLink
's binding.
Here is the function I use to bind parameters:
My route looks like:
Will I be able to do the same inside routerLink
directive?