Class enchant.widget.Prompt
- Defined in: widget.enchant.js
- Extends enchant.widget.Confirm
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.widget.Prompt(content, ac, ig, placeholder)
プロンプトダイアログ.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
enchant.widget.Prompt.value
content of prompt.
|
- Fields borrowed from class enchant.Entity:
- backgroundColor, buttonMode, buttonPressed, compositeOperation, debugColor, opacity, originX, originY, rotation, scaleX, scaleY, touchEnabled, visible
- Fields borrowed from class enchant.Node:
- age, parentNode, scene, x, y
Method Summary
- Methods borrowed from class enchant.Entity:
- disableCollection
- enableCollection
- intersect
- rotate
- scale
- within
- Methods borrowed from class enchant.Node:
- moveBy
- moveTo
- Methods borrowed from class enchant.EventTarget:
- addEventListener
- clearEventListener
- dispatchEvent
- on
- removeEventListener
Class Detail
enchant.widget.Prompt(content, ac, ig, placeholder)
プロンプトダイアログ.
通常enchant.widget.PromptSceneから使用する.
- Parameters:
- {*} content
- 表示するコンテンツ.
- {String} ac
- 了承ボタンのラベル.
- {String} ig
- キャンセルボタンのラベル.
- placeholder
Field Detail
<static>
enchant.widget.Prompt.value
content of prompt.