You want to get content of the element (for ex. the text content)?. If so, you have to use reference like #modalContentBody in the template, and @ViewChild ...
確定! 回上一頁