Element.toggleAttribute
Read Originalこの記事は、Web標準の新機能であるElement.toggleAttributeについて詳細に解説しています。Boolean属性(disabledなど)を直感的に操作するためのAPIで、2017年に提案され、2018年にFirefox、Chrome、Safariなどの主要ブラウザで実装が進められました。仕様の背景、APIの使用方法、デモ、および各ブラウザの実装状況について説明されています。
0 コメント
コメント
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet