Class enchant.widget.AlertScene
- Defined in: widget.enchant.js
- Extends enchant.widget.Modal
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.widget.AlertScene(content, acceptName)
アラートシーン.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
enchant.widget.AlertScene.onaccept
|
- Fields borrowed from class enchant.Group:
- childNodes, firstChild, lastChild, originX, originY, rotation, scaleX, scaleY
- Fields borrowed from class enchant.Node:
- age, parentNode, scene, x, y
Method Summary
- Methods borrowed from class enchant.Group:
- addChild
- insertBefore
- removeChild
- Methods borrowed from class enchant.Node:
- moveBy
- moveTo
- Methods borrowed from class enchant.EventTarget:
- addEventListener
- clearEventListener
- dispatchEvent
- on
- removeEventListener
Class Detail
enchant.widget.AlertScene(content, acceptName)
アラートシーン.
他の入力を遮り, アラートを表示する.
var alert = new ConfirmScene('それはできません', 'OK'); alert.callback = function() { }; alert.onaccept = function() { };
- Parameters:
- {*} content
- 表示するコンテンツ.
- {String} acceptName
- 了承ボタンのラベル.
Field Detail
<static>
enchant.widget.AlertScene.onaccept