toggle(ontoggle)イベント
toggle(ontoggle)イベントは、<detail>エレメントを開くまたは閉じると発生するイベントです。
構文(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> |