five-on-it / apps/client/src/renderer/gallery-ui / GalleryPanel
Interface: GalleryPanel
Defined in: apps/client/src/renderer/gallery-ui.ts:33
The panel of a gallery.
Properties
root
readonlyroot:HTMLElement
Defined in: apps/client/src/renderer/gallery-ui.ts:35
The panel's element.
Methods
add()
add(
element):void
Defined in: apps/client/src/renderer/gallery-ui.ts:39
Adds a gallery's own control under the panel's.
Parameters
element
HTMLElement
Returns
void
setEntries()
setEntries(
entries):void
Defined in: apps/client/src/renderer/gallery-ui.ts:37
The things to find, go to and map (a gallery lays them out after it loads).
Parameters
entries
readonly GalleryEntry[]
Returns
void
update()
update():
void
Defined in: apps/client/src/renderer/gallery-ui.ts:41
Redraws the map's cross where the camera looks; once a frame.
Returns
void