Class enchant.InputSource
Class that wrap input.
- Defined in: enchant.js
- Extends enchant.EventTarget
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.InputSource(identifier)
|
Field Attributes | Field Name and Description |
---|---|
identifier of InputSource.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
notifyStateChange(data)
Notify state change by event.
|
- Methods borrowed from class enchant.EventTarget:
- addEventListener
- clearEventListener
- dispatchEvent
- on
- removeEventListener
Class Detail
enchant.InputSource(identifier)
- Parameters:
- {String} identifier
- identifier of InputSource.
Field Detail
{String}
identifier
identifier of InputSource.
Method Detail
-
notifyStateChange(data)Notify state change by event.
- Parameters:
- {*} data
- state.