- Description:
This module provides a wrapper to encapsulate a lot of the common combinations of user interaction we use in Moodle.
- Source:
- Since:
- 3.2
- Copyright:
- 2016 Ryan Wyllie
- 2016 Ryan Wyllie
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
This module provides a wrapper to encapsulate a lot of the common combinations of user interaction we use in Moodle.
Methods
(inner) define(element, include)
- Description:
Add all of the listeners on the given element for the requested events.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
element |
object | the DOM element to register event listeners on |
include |
array | the array of events to be triggered |