Modules

Modules

The main Modules class

Constructor

new Modules(micrionon-null)

Create the Modules instance
Parameters:
Name Type Description
micrio Micrio The Micrio instance

Classes

Modules

Members

audio :AudioController|null

Audio module
Type:

children :Children|null

Children module
Type:

(nullable) currentTour :Tour

Current video tour
Type:

embeds :Embeds|undefined

Embeds module
Type:
  • Embeds | undefined

(non-null) markers :Markers

Markers module
Type:

(constant, non-null) markerTours :Array.<(!MarkerTour|!MarkerScrollTour)>

Marker tours
Type:

(constant, non-null) micrio :Micrio

The Micrio instance
Type:
  • Micrio
ImageNavigator module
Type:

state :State|undefined

State module
Type:

(constant, non-null) tours :Array.<!Tour>

Video tours
Type:

Methods

setAudio(datanon-null, forceAudioopt) → (nullable) {AudioController}

Set the audio data and attempt to play
Parameters:
Name Type Attributes Default Description
data AudioData The audio data JSON
forceAudio boolean <optional>
false Force initing the audio even without data
Returns:
The audio controller
Type
AudioController