Class HtmlOverlay
Extends
Class.
Defined in: arcade-controls.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
HTML overlay, attached to canvas.
|
| Method Attributes | Method Name and Description |
|---|---|
|
close()
Hide and remove this box (triggers onClose callback).
|
|
|
init(opts)
|
|
|
isDown()
Return true if button is down (but mouse key / finger is also still down).
|
Method Detail
close()
Hide and remove this box (triggers onClose callback).
init(opts)
- Parameters:
- opts
isDown()
Return true if button is down (but mouse key / finger is also still down).