相关疑难解决方法(0)

Angular 4中md-select中的onselected事件

我想在使用md-select选择值时在typescript中调用函数.在材料设计中用于此目的的属性是什么?

   <md-select placeholder="State">
       <md-option *ngFor="let state of states" [value]="state.code">{{ state.name }}
   </md-option>
Run Code Online (Sandbox Code Playgroud)

angular-material angular-material2 angular

31
推荐指数
3
解决办法
5万
查看次数