The reference you get from your ViewChild is not actually ElementRef . You can wrap the button to a div and then get ViewChild reference to ...
確定! 回上一頁