Constructor
new CanvasButtons($container, $closeButton, $fullscreenButton)
#
Methods
attach()
#
Registers listeners.
set(image)
#
setOffset(offset)
#
Sets the top offset for the navigation buttons.
Parameters:
| Name | Type | Description |
|---|---|---|
offset |
number |
- Source:
Sets the top offset for the navigation buttons.
unattach()
#
Removes all UI things from the DOM, or hides them
- Source:
Removes all UI things from the DOM, or hides them