Skip to main content

command_event_ctor

Function command_event_ctor 

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

new CommandEvent(type, options)(Invoker Commands API / WHATWG HTML Standard。 <button command="..." commandfor="..."> のアクション時に発火するイベント。 command/source をプロパティとして保持する)。