initTextEvent
|
Void |
Initializes attributes of a TextEvent object. |
Sytaxis:
object.initTextEvent(type, canBubble, cancelable, view, data, inputMethod, locale) Arguments:
Name |
Type |
O/R |
Description |
type |
String |
Required |
Specifies the event type. |
canBubble |
Boolean |
Required |
Specifies whether or not the event can bubble. |
cancelable |
Boolean |
Required |
Specifies whether or not the event's default action can be prevented. |
view |
Window
|
Required |
Specifies view. This value may be null. |
data |
String |
Required |
Holds the value of the characters generated by the character device. |
inputMethod |
Number |
Required |
Specifies inputMethod value. |
locale |
String |
Required |
The language code for the text input, if available; otherwise, the empty string. |
|
Sytaxis:
object.initUIEvent(type, canBubble, cancelable, view, detail) Arguments:
Name |
Type |
O/R |
Description |
type |
String |
Required |
Specifies the event type. |
canBubble |
Boolean |
Required |
Specifies whether or not the event can bubble. |
cancelable |
Boolean |
Required |
Specifies whether or not the event's default action can be prevented. |
view |
Object |
Required |
Specifies view. This value may be null. |
detail |
Number |
Required |
Specifies detail. |
|