Class enchant.InputSource
任意の入力をラップするクラス.
- Defined in: enchant.js
- Extends enchant.EventTarget
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.InputSource(identifier)
|
Field Attributes | Field Name and Description |
---|---|
入力のid.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
notifyStateChange(data)
入力の状態変更をイベントで通知する.
|
- Methods borrowed from class enchant.EventTarget:
- addEventListener
- clearEventListener
- dispatchEvent
- on
- removeEventListener
Class Detail
enchant.InputSource(identifier)
- Parameters:
- {String} identifier
- 入力のid.
Field Detail
{String}
identifier
入力のid.
Method Detail
-
notifyStateChange(data)入力の状態変更をイベントで通知する.
- Parameters:
- {*} data
- 新しい状態.