pub(crate) fn pointer_event_ctor(
it: &mut Interp,
t: Value,
a: &[Value],
) -> Result<Value, Value>Expand description
new PointerEvent(type, options)(丸ごと未対応だった。el.dispatchEvent (new PointerEvent('pointerdown', {pointerId, pointerType:'touch'}))
というポインタ入力シミュレーションの定番パターン)。仕様どおり
MouseEvent を継承するため mouse_event_ctor をそのまま土台にし、
pointerId/width/height/pressure/tangentialPressure/tiltX/
tiltY/twist/pointerType/isPrimary を追加する。