Constructor
new Modules(micrionon-null)
Create the Modules instance
Parameters:
Name | Type | Description |
---|---|---|
micrio |
Micrio | The Micrio instance |
Classes
Members
audio :AudioController|null
Audio module
Type:
- AudioController | null
children :Children|null
Children module
Type:
- Children | null
(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:
- Array.<(!MarkerTour|!MarkerScrollTour)>
(constant, non-null) micrio :Micrio
The Micrio instance
Type:
- Micrio
(non-null) navigator :ImageNavigator
ImageNavigator module
Type:
state :State|undefined
State module
Type:
- State | undefined
(constant, non-null) tours :Array.<!Tour>
Video tours
Type:
- Array.<!Tour>
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