var button=document.querySelector('button』);button.addEventListener('click',()=>console.log('Clicked!'));. 使用RxJS建立一個Observable實現同樣的效果:.
確定! 回上一頁