initEvent method

void initEvent(
  1. String type, [
  2. bool? bubbles = false,
  3. bool? cancelable = false
])

Implementation

void initEvent(String type,
        [bool? bubbles = false, bool? cancelable = false]) =>
    js_util.callMethod(this, 'initEvent', [type, bubbles, cancelable]);