Event

Constructors

this
this(string eventName, Widget target)

Members

Functions

dispatch
void dispatch()

this dispatches the element using the capture -> target -> bubble process

preventDefault
void preventDefault()

Prevents the default event handler (if there is one) from being called

sendDirectly
void sendDirectly()

this sends it only to the target. If you want propagation, use dispatch() instead.

stopPropagation
void stopPropagation()

Stops the event propagation immediately.

Variables

button
int button;
buttonLinear
int buttonLinear;
character
dchar character;
clientX
int clientX;
clientY
int clientY;
intValue
int intValue;
key
Key key;
relatedTarget
Widget relatedTarget;
shiftKey
bool shiftKey;
srcElement
Widget srcElement;
state
int state;
stringValue
string stringValue;
viewportX
int viewportX;
viewportY
int viewportY;

Meta

Suggestion Box / Bug Report