gecko-dev/dom/public/idl/events/UIEvent.idl

32 lines
1.2 KiB
Plaintext

interface UIEvent : Event {
/* IID: { 0xa6cf90c3, 0x15b3, 0x11d2, \
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } } */
readonly attribute AbstractView view;
readonly attribute long detail;
void initUIEvent(in DOMString typeArg,
in boolean canBubbleArg,
in boolean cancelableArg,
in AbstractView viewArg,
in long detailArg);
};
interface NSUIEvent {
/* IID: { 0xa6cf90c4, 0x15b3, 0x11d2, \
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } } */
boolean getPreventDefault();
readonly attribute int layerX;
readonly attribute int layerY;
readonly attribute int pageX;
readonly attribute int pageY;
readonly attribute unsigned long which;
readonly attribute Node rangeParent;
readonly attribute int rangeOffset;
attribute boolean cancelBubble;
readonly attribute boolean isChar;
};