问题标签 [angular2-toaster]
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.
21 问题
0
投票
0
回答
12
浏览
angular - 如何从 angular2-toaster closeHtml 激活组件功能
我想从ToasterConfig closeHtml属性中激活组件功能或服务功能。我怎样才能到达正确的上下文(组件的 this )以到达组件功能?这是配置的样子: