front-end-infrastructure
v1.1.0
Published
This is a custom element that provides many basic infrastructure for Front-End, including math/nodeList extension and API communication.
Downloads
5
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);