toggle ( ontoggle )イベント
toggle ( ontoggle )イベントは、<details> エレメントを開くまたは閉じると発生するイベントです。
- ad -
構文(Syntax)
in HTML
<tagelement ontoggle="function()">
in JavaScript
object.ontoggle = function(){ }; object.addEventListener("toggle", script_);
備考(Remarks)
Bubbles | No |
Cancelable | No |
Interface | Event |
Supported HTML Elements | <detail> |
- ad -