VisitorProfile

VisitorProfile

Component displays the tags and their values/importances by the collected preferences over ExhibitionProvider#addPreference when entering activity zones. Component is used from https://www.npmjs.com/package/clulib

Constructor

new VisitorProfile()

Source:

Extends

  • Component

Members

(private) exhibitionProvider_ :ExhibitionProvider

Description:
  • Reference to ExhibitionProvider to communicate with the backend and provide and monitor all information that dynamically changes the application.

Source:

Reference to ExhibitionProvider to communicate with the backend and provide and monitor all information that dynamically changes the application.

Type:

(private) items_ :Map.<string, {tag:Element, progress:Element, amount:Element}>

Source:
Type:
  • Map.<string, {tag:Element, progress:Element, amount:Element}>

(private) worldProvider_ :WorldProvider

Description:
  • Reference to the WorldProvider for monitoring actions, loading processes and status changes of the created THREE.Scene.

Source:

Reference to the WorldProvider for monitoring actions, loading processes and status changes of the created THREE.Scene.

Type:

Methods

(private) handleUpdatePreferences_()

Description:
  • Handle event ExhibitionEventType UPDATE_VISITOR_PREFERENCE update chages of the visitor profile

Source:

onInit()

Description:
  • Component is ready and had loaded all dependencies (inherit method waitFor and sub components). Checks if the exhibition data was loaded and creates for each tag in the visitor profile a dom display element.

Source: