Help:Utils Docs

Utils is a library that provides a few utility functions for making JS a little easier to work with. Parameters suffixed with ? are optional.

Documentation
[|What is a mixin?] Use the  keyword to use a mixin. Utils.addMixin(name, {properties}) create a mixin name: the name of the mixin properties: the properties of the mixin Utils.removeMixin(name) remove a mixin name: the name of the mixin Utils.create(tag, {properties}?) create an HTML element tag: the HTMLElement tag (e.g. "div" for ) properties: the properties of the element Utils.bundle([elements]) appends elemente to a single element elements: the elements to bundle Utils.get(id) alias for document.getElementById(id) id: the id of the element