Skip to content
Snippets Groups Projects
Commit f7833462 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

Release 1.10

parent 4791190b
No related branches found
No related tags found
No related merge requests found
Showing
with 27 additions and 25 deletions
This diff is collapsed.
/** Monster 1.10.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
'use strict';import{Monster,validateInstance,validateString}from"../types/validate.js";import{getDocument}from"./util.js";function fireEvent(element,type){const document=getDocument();if(element instanceof HTMLElement){if(type==="click"){element.click();return}let event=new Event(validateString(type),{bubbles:true,cancelable:true});element.dispatchEvent(event)}else if(element instanceof HTMLCollection||element instanceof NodeList){for(let e of element){fireEvent(e,type)}}else{throw new TypeError("value is not an instance of HTMLElement or HTMLCollection")}}Monster.assignToNamespace("Monster.DOM",fireEvent);export{Monster,fireEvent};
/** Monster 1.9.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
/** Monster 1.10.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
'use strict';const namespace="Monster.DOM";
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/** Monster 1.9.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
/** Monster 1.10.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
'use strict';import{Monster}from"../../namespace.js";import{Base}from"../../types/base.js";import{Handler}from"../../logging/handler.js";class ConsoleHandler extends Base{constructor(){super()}}Monster.assignToNamespace("Monster.Logging",ConsoleHandler);export{Monster,Handler};
/** Monster 1.9.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
/** Monster 1.10.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
'use strict';const namespace="Monster.Logging.Handler";
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment