Use the CustomEvent() constructor to create a custom event and dispatchEvent() to trigger the event. Was this tutorial helpful ?
確定! 回上一頁