1 |
efrain |
1 |
define("editor_atto/events",["exports","core/event_dispatcher"],(function(_exports,_event_dispatcher){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.notifyButtonHighlightToggled=_exports.eventTypes=void 0;
|
|
|
2 |
/**
|
|
|
3 |
* Javascript events for the `editor_atto` plugin.
|
|
|
4 |
*
|
|
|
5 |
* @module editor_atto/events
|
|
|
6 |
* @copyright 2021 Jun Pataleta <jun@moodle.com>
|
|
|
7 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
8 |
* @since 3.10.5
|
|
|
9 |
*/
|
|
|
10 |
const eventTypes={attoButtonHighlightToggled:"editor_atto/attoButtonHighlightToggled"};_exports.eventTypes=eventTypes;_exports.notifyButtonHighlightToggled=(attoButton,buttonName,highlight)=>(0,_event_dispatcher.dispatchEvent)(eventTypes.attoButtonHighlightToggled,{buttonName:buttonName,highlight:highlight},attoButton)}));
|
|
|
11 |
|
|
|
12 |
//# sourceMappingURL=events.min.js.map
|