Indoor¶
Warning
This plugin has been deprecated in favor of related_previews plugin.
This plugin checks related plugin for an "indoor" entry. If it exists creates an interface element with the preview of that related view. If the related view is loaded, the preview will change to go back to the seat view.
- Plugin name:
"indoor"
- Plugin namespace:
"indoor"
Dependencies¶
This plugin has the following dependencies (they will be downloaded automatically):
- related plugin.
Loading the plugin¶
If this plugin is loaded, the module will have the following additional features:
Callbacks¶
This plugin adds the following new callback triggers, additionally to the default ones:
click_indoor_preview
: Will be called when the user clicks the indoor preview. The first parameter will be a default callback object with an additional property calledindoor
with the following content:venue_id
(string): venue id of the indoor view.view_id
(string): view id of the indoor view.
Methods¶
getIndoorRelatedView()¶
If the view has an indoor related view, it will return the same output
as getRelatedViewByName, or null
if it has not.
Flags¶
show_indoor_preview¶
enables or disables the indoor preview.