That's why it's a better idea to use ng.getOwningComponent instead, as it's going to select the component instance that contains that element.
確定! 回上一頁