Dart API Referencedart:htmlUIEvent

UIEvent Interface

A basic event interface for all user interface events
1.0
11.0
Inherits from: nsIDOMEvent Last changed in Gecko 9.0 (Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6)

The DOM UIEvent represents simple user interface events.

Extends

Event

Subinterfaces

CompositionEvent, KeyboardEvent, MouseEvent, SVGZoomEvent, TextEvent, TouchEvent

Methods

Code void initUIEvent(String type, bool canBubble, bool cancelable, Window view, int detail) #

Initializes the UIEvent object.

Parameters
typeArg
The type of UI event.
canBubbleArg
Whether or not the event can bubble.
cancelableArg
Whether or not the event can be canceled.
viewArg
Specifies the view attribute value. This may be null.
detailArg
Specifies the detail attribute value.
void initUIEvent(String type, bool canBubble, bool cancelable, Window view, int detail);

Fields

Code final int charCode #

final int charCode;

Code final int detail #

Detail about the event, depending on the type of event. Read only.
final int detail;

Code final int keyCode #

final int keyCode;

Code final int layerX #

final int layerX;

Code final int layerY #

final int layerY;

Code final int pageX #

final int pageX;

Code final int pageY #

final int pageY;

Code final Window view #

A view which generated the event. Read only.
final Window view;

Code final int which #

final int which;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.