TypeScript(ã¾ãã¯JavaScript)ã§ã¤ãã³ãåãæ±ãå ´åã¯ã"load"ã"click"çãã¤ãã³ãåãç´æ¸ãã«ãããã¨ãå¤ãã¨æãã¾ãããããããã®ããã«ã¤ãã³ãåãç´æ¸ãããã³ã¼ãã£ã³ã°ãè¡ãã¨ãããã¸ã§ã¯ãã大ãããªãã»ã©ã¿ã¤ãã³ã°ãã¹ã«æ°ã¥ãã«ããããã°ã®èªçºã«ã¤ãªããã¾ãããããé²ãããã«ãString enumsãä½ããä¸å 管çãããã¨ããè¦ããã¾ãã ã¤ãã³ãåãç´æ¸ãããå¦ç ã¾ãããè¦åããããããã°ã©ãã³ã°æ¹æ³ã§ããã¦ã¤ã³ãã¦ãã¯ãªãã¯ããæã«ã¢ã©ã¼ããåºãå¦çã¯TypeScriptã§ä¸è¨ã®ããã«è¨è¿°ãã¾ãã // ã¦ã¤ã³ãã¦ãã¯ãªãã¯ããæã®å¦ç window.addEventListener("load", () => alert("ã¦ã£ã³ãã¦ã®ãã¼ããå®äºãã¾ããã")); window.addEventListener("click", () =
{{#tags}}- {{label}}
{{/tags}}