html.extension
v1.2.0
Published
This is a custom element that extends existing window object. Providing convenient functions to window.Math, window.NodeList and so on.
Downloads
2
Maintainers
Readme
window.Math
window.Math.randomRange(min, max);
window.Number.prototype.toRad();
window.Math.calculateDistance(lat1, lon1, lat2, lon2);
window.NodeList
window.NodeList.prototype.addEventListener(eventName, handler);
window.NodeList.prototype.remove();
window.NodeList.prototype.exec(callback);
window.NodeList.prototype.setAttribute(key, value);
window.NodeList.prototype.removeAttribute(key);
window.NodeList.prototype.addClass(name);
window.NodeList.prototype.removeClass(name);