This module allows to enhance the form elements MoodleQuickForm_filetypes
- Source:
- Since:
- 3.3
- Copyright:
- 2017 David Mudrak
- 2017 David Mudrak
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Methods
(inner) prepareBrowserModal() → {Promise}
- Source:
Create and set the modal for displaying the browser (this.browserModal).
Returns:
- Type
- Promise
(inner) prepareBrowserTree() → {Promise}
- Source:
Create and set the tree in the browser modal's body.
Returns:
- Type
- Promise
(inner) prepareBrowserTrigger() → {Promise}
- Source:
Create and set the browser trigger widget (this.browserTrigger).
Returns:
- Type
- Promise
(inner) saveBrowserModal()
- Source:
Update the associated input field with selected file types.
(inner) toggleCheckbox(key)
- Source:
Change the checked status of the given file type (group or extension).
Parameters:
Name | Type | Description |
---|---|---|
key |
String |