0.0.1 • Published 2 years ago

pikviewer-api v0.0.1

Weekly downloads
-
License
UNLICENCED
Repository
github
Last release
2 years ago

pikviewer-api

Core API for communicating between our data sets and visual updates. UI / Panoviewer

Events

list of events which the api will trigger on the main dom element

viewer-loaded the viewer api has completed loading. Ready for queries

config-update the configuration has updated

scene-data-loaded currently tirggered on the main dom element? json data has loaded, we init data build

item-click to depreciate

hotspot-click a hotspot has been clicked

API

document.querySelector('onfigr').api

enterFullscreen() enter full screen mode

leaveFullscreen() leave full screen mode

Attributes

document.querySelector('onfigr').getAttribute('attr')

config returns the current configuration data