Angular 2 get clicked element ID. ... e.g. button click, you shall pass the $event variable and access the id property via the current target.
確定! 回上一頁