... your option" #myselect></ng-select>. now you can access to .select() method from template file: <button (click)="myselect.select('2')">Select 2</button>.
確定! 回上一頁