Description
Editable Window displays external content within a number of possibilities in a popup window that can be moved and enlarged across the entire lesson area.
Properties
Property name |
Description |
Text |
Text displayed by the addon. To display text, remember to check the "Text editor content" property. |
Text editor content |
If checked the addon will display the text configured in the Text property. |
File list |
List of files (images etc.) used by the index file (set in the Index file property). |
Index file |
File (e.g. HTML) to be displayed. It displays only if the "Text editor content" is not checked. |
Audio file |
Audio file to be played in the addon. It displays only if "Text editor content" is not checked and the index file is not provided. |
Video file |
Video file to be played in the addon. It displays only if "Text editor content" is not checked and index file and audio file are not provided. |
Editing enabled |
If checked, it will be possible to edit the contents of the popup. |
Disable resize height |
If checked, changing the height of the popup will not be possible. |
Offline message |
This message will be displayed if the addon was configured to display an online video resource, but there's no internet access. |
Speech texts |
List of speech texts provided for the Text to Speech addon. |
Lang attribute |
This property allows defining the language used by the Text to Speech functionality. If left empty, the lesson's default language will be used. |
Events
Editable Window module sends ValueChanged events when the window is moved, or closed.
Field Name |
Description |
Value |
'move-editable-windows' if the window was moved, or 'close' if it was closed. |
Supported commands
Command name |
Params |
Description |
show |
--- |
Shows the addon |
hide |
--- |
Hides the addon |
isVisible |
--- |
Returns true if visible |
centerPosition |
--- |
Centers the position of the addon's popup |
openPopup |
--- |
Opens the addon popup |