0
<ak-notification id="popupNotification"
k-widget.bind="popupNotification"></ak-notification>
視圖模型:
this.popupNotification.show('error message', 'error');
然而,this.popupNotification在當.ts文件沒有提及。如何添加在ViewModel中使用它來顯示彈出窗口?