Documentation
Editable Window
Description
The Editable Window module displays external content within a number of possibilities in a popup window that can be moved and enlarged across the entire lesson area.
Properties
The list starts with the common properties. Learn more about them by visiting the Modules description section. The other available properties are described below.
Property name | Description |
---|---|
Title | Title displayed on the header. |
Text | Text displayed by the module. To display text, remember to check the "Text editor content" property. |
Text editor content | If checked, the module will display the text configured in the Text property. |
Header style | Allows to apply a style defined in the CSS. |
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 module. 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 module. It displays only if "Text editor content" is not checked and the index file and audio file are not provided. |
Editing enabled | If checked, it will be possible for the user 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 module was configured to display an online video resource, but there's no internet access. |
Speech texts | Sets the values of speech texts - predefined phrases providing additional context while using the module in the Text To Speech mode. Speech texts are always read using the content's default language. |
Lang attribute | This property allows defining the language for this module (different than the language of the lesson). |
Events
The Editable Window module sends the 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 |
---|---|---|
hide | --- | Hides the module if it is visible. |
show | --- | Shows the module if it is hidden. |
isVisible | --- | Returns true if visible. |
centerPosition | --- | Centers the position of the module's popup. |
openPopup | --- | Opens the module's popup. |