initMouseEvent method

void initMouseEvent(
  1. String typeArg, [
  2. bool? bubblesArg = false,
  3. bool? cancelableArg = false,
  4. Window? viewArg,
  5. int? detailArg = 0,
  6. int? screenXArg = 0,
  7. int? screenYArg = 0,
  8. int? clientXArg = 0,
  9. int? clientYArg = 0,
  10. bool? ctrlKeyArg = false,
  11. bool? altKeyArg = false,
  12. bool? shiftKeyArg = false,
  13. bool? metaKeyArg = false,
  14. int? buttonArg = 0,
  15. EventTarget? relatedTargetArg,
])

Implementation

void initMouseEvent(String typeArg,
        [bool? bubblesArg = false,
        bool? cancelableArg = false,
        Window? viewArg,
        int? detailArg = 0,
        int? screenXArg = 0,
        int? screenYArg = 0,
        int? clientXArg = 0,
        int? clientYArg = 0,
        bool? ctrlKeyArg = false,
        bool? altKeyArg = false,
        bool? shiftKeyArg = false,
        bool? metaKeyArg = false,
        int? buttonArg = 0,
        EventTarget? relatedTargetArg]) =>
    js_util.callMethod(this, 'initMouseEvent', [
      typeArg,
      bubblesArg,
      cancelableArg,
      viewArg,
      detailArg,
      screenXArg,
      screenYArg,
      clientXArg,
      clientYArg,
      ctrlKeyArg,
      altKeyArg,
      shiftKeyArg,
      metaKeyArg,
      buttonArg,
      relatedTargetArg
    ]);