Skip to main content

toggle_event_ctor

Function toggle_event_ctor 

Source
pub(crate) fn toggle_event_ctor(
    it: &mut Interp,
    t: Value,
    a: &[Value],
) -> Result<Value, Value>
Expand description

new ToggleEvent(type, options)(WHATWG HTML Standard。<details>popover 等の トグル状態で発火するイベント。oldState/newState をプロパティとして保持する)。