mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 14:57:32 +09:00
Make all arguments to init*Event() optional except the first
This resolves #810.
This commit is contained in:
parent
c582c801da
commit
faa1c5c0af
20 changed files with 175 additions and 169 deletions
|
|
@ -25,22 +25,22 @@ interface SimpleGestureEvent : MouseEvent
|
|||
readonly attribute unsigned long clickCount;
|
||||
|
||||
void initSimpleGestureEvent(DOMString typeArg,
|
||||
boolean canBubbleArg,
|
||||
boolean cancelableArg,
|
||||
Window? viewArg,
|
||||
long detailArg,
|
||||
long screenXArg,
|
||||
long screenYArg,
|
||||
long clientXArg,
|
||||
long clientYArg,
|
||||
boolean ctrlKeyArg,
|
||||
boolean altKeyArg,
|
||||
boolean shiftKeyArg,
|
||||
boolean metaKeyArg,
|
||||
unsigned short buttonArg,
|
||||
EventTarget? relatedTargetArg,
|
||||
unsigned long allowedDirectionsArg,
|
||||
unsigned long directionArg,
|
||||
double deltaArg,
|
||||
unsigned long clickCount);
|
||||
optional boolean canBubbleArg = false,
|
||||
optional boolean cancelableArg = false,
|
||||
optional Window? viewArg = null,
|
||||
optional long detailArg = 0,
|
||||
optional long screenXArg = 0,
|
||||
optional long screenYArg = 0,
|
||||
optional long clientXArg = 0,
|
||||
optional long clientYArg = 0,
|
||||
optional boolean ctrlKeyArg = false,
|
||||
optional boolean altKeyArg = false,
|
||||
optional boolean shiftKeyArg = false,
|
||||
optional boolean metaKeyArg = false,
|
||||
optional short buttonArg = 0,
|
||||
optional EventTarget? relatedTargetArg = null,
|
||||
optional unsigned long allowedDirectionsArg = 0,
|
||||
optional unsigned long directionArg = 0,
|
||||
optional double deltaArg = 0,
|
||||
optional unsigned long clickCount = 0);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue