Class enchant.widget.Confirm
- Defined in: widget.enchant.js
- Extends enchant.widget.EntityGroup
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| 
									enchant.widget.Confirm(content, ac, ig)
								 Confirm dialog. | 
- 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
| Method Attributes | Method Name and Description | 
|---|---|
| <static> | enchant.widget.Confirm.onaccept()
										 Function executed when agreement button is pushed. | 
| <static> | enchant.widget.Confirm.oncancel()
										 Function executed when cancel button is pushed. | 
- 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.Confirm(content, ac, ig)
					
					
					
						Confirm dialog.
Use from normal enchant.widget.ConfirmScene.
						
					
					
					
				
					
						- Parameters:
- {*} content
- Content to display.
- {String} ac
- Label for agreement button.
- {String} ig
- Label for cancel button.
Method Detail
- 
								<static> enchant.widget.Confirm.onaccept()Function executed when agreement button is pushed.
- 
								<static> enchant.widget.Confirm.oncancel()Function executed when cancel button is pushed.