Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vevet-dom

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vevet-dom - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

dist/cjs/listeners.js

2

dist/cdn/index.js

@@ -7,2 +7,2 @@ /*

*/
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(r,i,function(n){return e[n]}.bind(null,i));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s=0)}([function(e,n,t){"use strict";t.r(n);var r={};function i(e,n){const t=n.parentNode,r=n.nextSibling;r?t.insertBefore(e,r):t.appendChild(e)}function o(e,n){return u(e,n)}function u(e,n){return e===n||null!==e&&u(e.parentNode,n)}function l(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function f(e){return e instanceof HTMLElement||e instanceof Element}function c(e){return e instanceof Window}function d(e,n){if(c(e))return e;if(f(e))return e;if(void 0!==n){const t=d(n);if(t)return t.querySelector(e)}return document.querySelector(e)}function s(e,n){if(e instanceof NodeList)return e;if(f(e))return[e];if(Array.isArray(e))return e;if(void 0!==n){const t=d(n);if(t)return t.querySelectorAll(e)}return document.querySelectorAll(e)}function a(e){return o(e,document.documentElement)}function p(e,n){if(e instanceof Element)v(e,n,!0);else for(let t=0;t<e.length;t++)v(e[t],n,!0)}function m(e,n){if(e instanceof Element)v(e,n,!1);else for(let t=0;t<e.length;t++)v(e[t],n,!1)}function h(e,n){if(e instanceof Element)v(e,n);else for(let t=0;t<e.length;t++)v(e[t],n)}function v(e,n,t){const r=n.split(" ");for(let n=0;n<r.length;n++)void 0===t?e.classList.toggle(r[n]):t?e.classList.add(r[n]):e.classList.remove(r[n])}function y(e,n={}){const t=document.createElement(e);if(n.class&&p(t,n.class),n.id&&t.setAttribute("id",n.id),n.attr)for(let e=0,r=n.attr.length;e<r;e++){const r=n.attr[e];t.setAttribute(r[0],r[1])}if(n.parent&&n.parent.appendChild(t),n.html&&(t.innerHTML=n.html),n.children)for(let e=0,r=n.children.length;e<r;e++)t.appendChild(n.children[e]);return t}t.r(r),t.d(r,"insertAfter",(function(){return i})),t.d(r,"childOf",(function(){return o})),t.d(r,"removeChildren",(function(){return l})),t.d(r,"isElement",(function(){return f})),t.d(r,"isWindow",(function(){return c})),t.d(r,"selectOne",(function(){return d})),t.d(r,"selectAll",(function(){return s})),t.d(r,"inDOM",(function(){return a})),t.d(r,"createElement",(function(){return y})),t.d(r,"addClass",(function(){return p})),t.d(r,"removeClass",(function(){return m})),t.d(r,"toggleClass",(function(){return h})),window.vevetDOM=r}]);
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(r,i,function(n){return e[n]}.bind(null,i));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s=0)}([function(e,n,t){"use strict";t.r(n);var r={};function i(e,n){const t=n.parentNode,r=n.nextSibling;r?t.insertBefore(e,r):t.appendChild(e)}function o(e,n){return u(e,n)}function u(e,n){return e===n||null!==e&&u(e.parentNode,n)}function c(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function l(e){return e instanceof HTMLElement||e instanceof Element}function f(e){return e instanceof Window}function s(e,n){if(f(e))return e;if(l(e))return e;if(void 0!==n){const t=s(n);if(t)return t.querySelector(e)}return document.querySelector(e)}function d(e,n){if(e instanceof NodeList)return e;if(l(e))return[e];if(Array.isArray(e))return e;if(void 0!==n){const t=s(n);if(t)return t.querySelectorAll(e)}return document.querySelectorAll(e)}function a(e){return o(e,document.documentElement)}function p(e,n){if(e instanceof Element)h(e,n,!0);else for(let t=0;t<e.length;t++)h(e[t],n,!0)}function m(e,n){if(e instanceof Element)h(e,n,!1);else for(let t=0;t<e.length;t++)h(e[t],n,!1)}function v(e,n){if(e instanceof Element)h(e,n);else for(let t=0;t<e.length;t++)h(e[t],n)}function h(e,n,t){const r=n.split(" ");for(let n=0;n<r.length;n++)void 0===t?e.classList.toggle(r[n]):t?e.classList.add(r[n]):e.classList.remove(r[n])}function g(e,n={}){const t=document.createElement(e);if(n.class&&p(t,n.class),n.id&&t.setAttribute("id",n.id),n.attr)for(let e=0,r=n.attr.length;e<r;e++){const r=n.attr[e];t.setAttribute(r[0],r[1])}if(n.parent&&n.parent.appendChild(t),n.html&&(t.innerHTML=n.html),n.children)for(let e=0,r=n.children.length;e<r;e++)t.appendChild(n.children[e]);return t}t.r(r),t.d(r,"insertAfter",(function(){return i})),t.d(r,"childOf",(function(){return o})),t.d(r,"removeChildren",(function(){return c})),t.d(r,"isElement",(function(){return l})),t.d(r,"isWindow",(function(){return f})),t.d(r,"selectOne",(function(){return s})),t.d(r,"selectAll",(function(){return d})),t.d(r,"inDOM",(function(){return a})),t.d(r,"createElement",(function(){return g})),t.d(r,"addClass",(function(){return p})),t.d(r,"removeClass",(function(){return m})),t.d(r,"toggleClass",(function(){return v})),t.d(r,"addEventListener",(function(){return y})),t.d(r,"removeEventListener",(function(){return E}));const b=[];function y(e,n,t,r){if(void 0!==r){const i={passive:!1,once:!1};r.once&&(i.once=!0),r.passive&&(i.passive=!0),e.addEventListener(n,t,i)}else e.addEventListener(n,t);const i=`${Math.random()}-${+new Date}`;return b.push({id:i,el:e,target:n,callback:t}),{id:i,remove:E.bind(this,i)}}function E(e){const n=[];for(let t=0,r=b.length;t<r;t++){const r=b[t];r.id===e?r.el.removeEventListener(r.target,r.callback):n.push(r)}}window.vevetDOM=r}]);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toggleClass = exports.removeClass = exports.addClass = exports.createElement = exports.inDOM = exports.selectAll = exports.selectOne = exports.isWindow = exports.isElement = exports.removeChildren = exports.childOf = exports.insertAfter = void 0;
exports.removeEventListener = exports.addEventListener = exports.toggleClass = exports.removeClass = exports.addClass = exports.createElement = exports.inDOM = exports.selectAll = exports.selectOne = exports.isWindow = exports.isElement = exports.removeChildren = exports.childOf = exports.insertAfter = void 0;
var insertAfter_1 = require("./insertAfter");

@@ -26,1 +26,4 @@ Object.defineProperty(exports, "insertAfter", { enumerable: true, get: function () { return insertAfter_1.insertAfter; } });

Object.defineProperty(exports, "toggleClass", { enumerable: true, get: function () { return classes_1.toggleClass; } });
var listeners_1 = require("./listeners");
Object.defineProperty(exports, "addEventListener", { enumerable: true, get: function () { return listeners_1.addEventListener; } });
Object.defineProperty(exports, "removeEventListener", { enumerable: true, get: function () { return listeners_1.removeEventListener; } });

@@ -11,2 +11,3 @@ import { insertAfter } from './insertAfter';

import { addClass, removeClass, toggleClass } from './classes';
export { insertAfter, childOf, removeChildren, isElement, isWindow, selectOne, selectAll, inDOM, createElement, addClass, removeClass, toggleClass, };
import { addEventListener, removeEventListener, } from './listeners';
export { insertAfter, childOf, removeChildren, isElement, isWindow, selectOne, selectAll, inDOM, createElement, addClass, removeClass, toggleClass, addEventListener, removeEventListener, };

@@ -11,3 +11,4 @@ import { insertAfter } from './insertAfter';

import { addClass, removeClass, toggleClass } from './classes';
export { insertAfter, childOf, removeChildren, isElement, isWindow, selectOne, SelectorOne, selectAll, SelectorAll, inDOM, createElement, CreateElementProp, addClass, removeClass, toggleClass, };
import { ListenerElement, IAddEventListenerOptions, IAddEventListener, addEventListener, removeEventListener } from './listeners';
export { insertAfter, childOf, removeChildren, isElement, isWindow, selectOne, SelectorOne, selectAll, SelectorAll, inDOM, createElement, CreateElementProp, addClass, removeClass, toggleClass, ListenerElement, IAddEventListenerOptions, IAddEventListener, addEventListener, removeEventListener, };
//# sourceMappingURL=index.d.ts.map

@@ -1,1 +0,1 @@

{"kinds":{"1":"Module","64":"Function","256":"Interface","1024":"Property","4194304":"Type alias"},"rows":[{"id":0,"kind":1,"name":"\"childOf\"","url":"modules/_childof_.html","classes":"tsd-kind-module"},{"id":1,"kind":64,"name":"childOf","url":"modules/_childof_.html#childof","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"childOf\""},{"id":2,"kind":1,"name":"\"classes\"","url":"modules/_classes_.html","classes":"tsd-kind-module"},{"id":3,"kind":64,"name":"addClass","url":"modules/_classes_.html#addclass","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"classes\""},{"id":4,"kind":64,"name":"removeClass","url":"modules/_classes_.html#removeclass","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"classes\""},{"id":5,"kind":64,"name":"toggleClass","url":"modules/_classes_.html#toggleclass","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"classes\""},{"id":6,"kind":1,"name":"\"createElement\"","url":"modules/_createelement_.html","classes":"tsd-kind-module"},{"id":7,"kind":256,"name":"CreateElementProp","url":"interfaces/_createelement_.createelementprop.html","classes":"tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter","parent":"\"createElement\""},{"id":8,"kind":1024,"name":"class","url":"interfaces/_createelement_.createelementprop.html#class","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"createElement\".CreateElementProp"},{"id":9,"kind":1024,"name":"id","url":"interfaces/_createelement_.createelementprop.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"createElement\".CreateElementProp"},{"id":10,"kind":1024,"name":"attr","url":"interfaces/_createelement_.createelementprop.html#attr","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"createElement\".CreateElementProp"},{"id":11,"kind":1024,"name":"parent","url":"interfaces/_createelement_.createelementprop.html#parent","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"createElement\".CreateElementProp"},{"id":12,"kind":1024,"name":"html","url":"interfaces/_createelement_.createelementprop.html#html","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"createElement\".CreateElementProp"},{"id":13,"kind":1024,"name":"children","url":"interfaces/_createelement_.createelementprop.html#children","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"createElement\".CreateElementProp"},{"id":14,"kind":64,"name":"createElement","url":"modules/_createelement_.html#createelement","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"\"createElement\""},{"id":15,"kind":1,"name":"\"insertAfter\"","url":"modules/_insertafter_.html","classes":"tsd-kind-module"},{"id":16,"kind":64,"name":"insertAfter","url":"modules/_insertafter_.html#insertafter","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"insertAfter\""},{"id":17,"kind":1,"name":"\"removeChildren\"","url":"modules/_removechildren_.html","classes":"tsd-kind-module"},{"id":18,"kind":64,"name":"removeChildren","url":"modules/_removechildren_.html#removechildren","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"removeChildren\""},{"id":19,"kind":1,"name":"\"isElement\"","url":"modules/_iselement_.html","classes":"tsd-kind-module"},{"id":20,"kind":64,"name":"isElement","url":"modules/_iselement_.html#iselement","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"isElement\""},{"id":21,"kind":1,"name":"\"isWindow\"","url":"modules/_iswindow_.html","classes":"tsd-kind-module"},{"id":22,"kind":64,"name":"isWindow","url":"modules/_iswindow_.html#iswindow","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"isWindow\""},{"id":23,"kind":1,"name":"\"types\"","url":"modules/_types_.html","classes":"tsd-kind-module"},{"id":24,"kind":4194304,"name":"HTMLElementTag","url":"modules/_types_.html#htmlelementtag","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"\"types\""},{"id":25,"kind":1,"name":"\"selectOne\"","url":"modules/_selectone_.html","classes":"tsd-kind-module"},{"id":26,"kind":4194304,"name":"SelectorOne","url":"modules/_selectone_.html#selectorone","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"\"selectOne\""},{"id":27,"kind":64,"name":"selectOne","url":"modules/_selectone_.html#selectone","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"\"selectOne\""},{"id":28,"kind":1,"name":"\"selectAll\"","url":"modules/_selectall_.html","classes":"tsd-kind-module"},{"id":29,"kind":4194304,"name":"SelectorAll","url":"modules/_selectall_.html#selectorall","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"\"selectAll\""},{"id":30,"kind":64,"name":"selectAll","url":"modules/_selectall_.html#selectall","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"\"selectAll\""},{"id":31,"kind":1,"name":"\"inDOM\"","url":"modules/_indom_.html","classes":"tsd-kind-module"},{"id":32,"kind":64,"name":"inDOM","url":"modules/_indom_.html#indom","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"inDOM\""},{"id":33,"kind":1,"name":"\"index\"","url":"modules/_index_.html","classes":"tsd-kind-module"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,23.026]],["parent/0",[]],["name/1",[0,23.026]],["parent/1",[0,1.883]],["name/2",[1,20.513]],["parent/2",[]],["name/3",[2,31.499]],["parent/3",[1,1.677]],["name/4",[3,31.499]],["parent/4",[1,1.677]],["name/5",[4,31.499]],["parent/5",[1,1.677]],["name/6",[5,20.513]],["parent/6",[]],["name/7",[6,31.499]],["parent/7",[5,1.677]],["name/8",[7,31.499]],["parent/8",[8,1.376]],["name/9",[9,31.499]],["parent/9",[8,1.376]],["name/10",[10,31.499]],["parent/10",[8,1.376]],["name/11",[11,31.499]],["parent/11",[8,1.376]],["name/12",[12,31.499]],["parent/12",[8,1.376]],["name/13",[13,31.499]],["parent/13",[8,1.376]],["name/14",[5,20.513]],["parent/14",[5,1.677]],["name/15",[14,23.026]],["parent/15",[]],["name/16",[14,23.026]],["parent/16",[14,1.883]],["name/17",[15,23.026]],["parent/17",[]],["name/18",[15,23.026]],["parent/18",[15,1.883]],["name/19",[16,23.026]],["parent/19",[]],["name/20",[16,23.026]],["parent/20",[16,1.883]],["name/21",[17,23.026]],["parent/21",[]],["name/22",[17,23.026]],["parent/22",[17,1.883]],["name/23",[18,26.391]],["parent/23",[]],["name/24",[19,31.499]],["parent/24",[18,2.158]],["name/25",[20,20.513]],["parent/25",[]],["name/26",[21,31.499]],["parent/26",[20,1.677]],["name/27",[20,20.513]],["parent/27",[20,1.677]],["name/28",[22,20.513]],["parent/28",[]],["name/29",[23,31.499]],["parent/29",[22,1.677]],["name/30",[22,20.513]],["parent/30",[22,1.677]],["name/31",[24,23.026]],["parent/31",[]],["name/32",[24,23.026]],["parent/32",[24,1.883]],["name/33",[25,31.499]],["parent/33",[]]],"invertedIndex":[["addclass",{"_index":2,"name":{"3":{}},"parent":{}}],["attr",{"_index":10,"name":{"10":{}},"parent":{}}],["childof",{"_index":0,"name":{"0":{},"1":{}},"parent":{"1":{}}}],["children",{"_index":13,"name":{"13":{}},"parent":{}}],["class",{"_index":7,"name":{"8":{}},"parent":{}}],["classes",{"_index":1,"name":{"2":{}},"parent":{"3":{},"4":{},"5":{}}}],["createelement",{"_index":5,"name":{"6":{},"14":{}},"parent":{"7":{},"14":{}}}],["createelement\".createelementprop",{"_index":8,"name":{},"parent":{"8":{},"9":{},"10":{},"11":{},"12":{},"13":{}}}],["createelementprop",{"_index":6,"name":{"7":{}},"parent":{}}],["html",{"_index":12,"name":{"12":{}},"parent":{}}],["htmlelementtag",{"_index":19,"name":{"24":{}},"parent":{}}],["id",{"_index":9,"name":{"9":{}},"parent":{}}],["index",{"_index":25,"name":{"33":{}},"parent":{}}],["indom",{"_index":24,"name":{"31":{},"32":{}},"parent":{"32":{}}}],["insertafter",{"_index":14,"name":{"15":{},"16":{}},"parent":{"16":{}}}],["iselement",{"_index":16,"name":{"19":{},"20":{}},"parent":{"20":{}}}],["iswindow",{"_index":17,"name":{"21":{},"22":{}},"parent":{"22":{}}}],["parent",{"_index":11,"name":{"11":{}},"parent":{}}],["removechildren",{"_index":15,"name":{"17":{},"18":{}},"parent":{"18":{}}}],["removeclass",{"_index":3,"name":{"4":{}},"parent":{}}],["selectall",{"_index":22,"name":{"28":{},"30":{}},"parent":{"29":{},"30":{}}}],["selectone",{"_index":20,"name":{"25":{},"27":{}},"parent":{"26":{},"27":{}}}],["selectorall",{"_index":23,"name":{"29":{}},"parent":{}}],["selectorone",{"_index":21,"name":{"26":{}},"parent":{}}],["toggleclass",{"_index":4,"name":{"5":{}},"parent":{}}],["types",{"_index":18,"name":{"23":{}},"parent":{"24":{}}}]],"pipeline":[]}}
{"kinds":{"1":"Module","64":"Function","256":"Interface","1024":"Property","65536":"Type literal","4194304":"Type alias"},"rows":[{"id":0,"kind":1,"name":"\"childOf\"","url":"modules/_childof_.html","classes":"tsd-kind-module"},{"id":1,"kind":64,"name":"childOf","url":"modules/_childof_.html#childof","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"childOf\""},{"id":2,"kind":1,"name":"\"classes\"","url":"modules/_classes_.html","classes":"tsd-kind-module"},{"id":3,"kind":64,"name":"addClass","url":"modules/_classes_.html#addclass","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"classes\""},{"id":4,"kind":64,"name":"removeClass","url":"modules/_classes_.html#removeclass","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"classes\""},{"id":5,"kind":64,"name":"toggleClass","url":"modules/_classes_.html#toggleclass","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"classes\""},{"id":6,"kind":1,"name":"\"createElement\"","url":"modules/_createelement_.html","classes":"tsd-kind-module"},{"id":7,"kind":256,"name":"CreateElementProp","url":"interfaces/_createelement_.createelementprop.html","classes":"tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter","parent":"\"createElement\""},{"id":8,"kind":1024,"name":"class","url":"interfaces/_createelement_.createelementprop.html#class","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"createElement\".CreateElementProp"},{"id":9,"kind":1024,"name":"id","url":"interfaces/_createelement_.createelementprop.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"createElement\".CreateElementProp"},{"id":10,"kind":1024,"name":"attr","url":"interfaces/_createelement_.createelementprop.html#attr","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"createElement\".CreateElementProp"},{"id":11,"kind":1024,"name":"parent","url":"interfaces/_createelement_.createelementprop.html#parent","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"createElement\".CreateElementProp"},{"id":12,"kind":1024,"name":"html","url":"interfaces/_createelement_.createelementprop.html#html","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"createElement\".CreateElementProp"},{"id":13,"kind":1024,"name":"children","url":"interfaces/_createelement_.createelementprop.html#children","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"createElement\".CreateElementProp"},{"id":14,"kind":64,"name":"createElement","url":"modules/_createelement_.html#createelement","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"\"createElement\""},{"id":15,"kind":1,"name":"\"insertAfter\"","url":"modules/_insertafter_.html","classes":"tsd-kind-module"},{"id":16,"kind":64,"name":"insertAfter","url":"modules/_insertafter_.html#insertafter","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"insertAfter\""},{"id":17,"kind":1,"name":"\"removeChildren\"","url":"modules/_removechildren_.html","classes":"tsd-kind-module"},{"id":18,"kind":64,"name":"removeChildren","url":"modules/_removechildren_.html#removechildren","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"removeChildren\""},{"id":19,"kind":1,"name":"\"isElement\"","url":"modules/_iselement_.html","classes":"tsd-kind-module"},{"id":20,"kind":64,"name":"isElement","url":"modules/_iselement_.html#iselement","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"isElement\""},{"id":21,"kind":1,"name":"\"isWindow\"","url":"modules/_iswindow_.html","classes":"tsd-kind-module"},{"id":22,"kind":64,"name":"isWindow","url":"modules/_iswindow_.html#iswindow","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"isWindow\""},{"id":23,"kind":1,"name":"\"types\"","url":"modules/_types_.html","classes":"tsd-kind-module"},{"id":24,"kind":4194304,"name":"HTMLElementTag","url":"modules/_types_.html#htmlelementtag","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"\"types\""},{"id":25,"kind":1,"name":"\"selectOne\"","url":"modules/_selectone_.html","classes":"tsd-kind-module"},{"id":26,"kind":4194304,"name":"SelectorOne","url":"modules/_selectone_.html#selectorone","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"\"selectOne\""},{"id":27,"kind":64,"name":"selectOne","url":"modules/_selectone_.html#selectone","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"\"selectOne\""},{"id":28,"kind":1,"name":"\"selectAll\"","url":"modules/_selectall_.html","classes":"tsd-kind-module"},{"id":29,"kind":4194304,"name":"SelectorAll","url":"modules/_selectall_.html#selectorall","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"\"selectAll\""},{"id":30,"kind":64,"name":"selectAll","url":"modules/_selectall_.html#selectall","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"\"selectAll\""},{"id":31,"kind":1,"name":"\"inDOM\"","url":"modules/_indom_.html","classes":"tsd-kind-module"},{"id":32,"kind":64,"name":"inDOM","url":"modules/_indom_.html#indom","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"inDOM\""},{"id":33,"kind":1,"name":"\"listeners\"","url":"modules/_listeners_.html","classes":"tsd-kind-module"},{"id":34,"kind":256,"name":"IAddEventListenerOptions","url":"interfaces/_listeners_.iaddeventlisteneroptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"\"listeners\""},{"id":35,"kind":1024,"name":"once","url":"interfaces/_listeners_.iaddeventlisteneroptions.html#once","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"listeners\".IAddEventListenerOptions"},{"id":36,"kind":1024,"name":"passive","url":"interfaces/_listeners_.iaddeventlisteneroptions.html#passive","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"listeners\".IAddEventListenerOptions"},{"id":37,"kind":256,"name":"IAddEventListener","url":"interfaces/_listeners_.iaddeventlistener.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"\"listeners\""},{"id":38,"kind":1024,"name":"id","url":"interfaces/_listeners_.iaddeventlistener.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"listeners\".IAddEventListener"},{"id":39,"kind":1024,"name":"remove","url":"interfaces/_listeners_.iaddeventlistener.html#remove","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"listeners\".IAddEventListener"},{"id":40,"kind":65536,"name":"__type","url":"interfaces/_listeners_.iaddeventlistener.html#remove.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"\"listeners\".IAddEventListener.remove"},{"id":41,"kind":4194304,"name":"ListenerElement","url":"modules/_listeners_.html#listenerelement","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"\"listeners\""},{"id":42,"kind":64,"name":"addEventListener","url":"modules/_listeners_.html#addeventlistener","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"\"listeners\""},{"id":43,"kind":64,"name":"removeEventListener","url":"modules/_listeners_.html#removeeventlistener","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"listeners\""},{"id":44,"kind":1,"name":"\"index\"","url":"modules/_index_.html","classes":"tsd-kind-module"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,25.759]],["parent/0",[]],["name/1",[0,25.759]],["parent/1",[0,2.209]],["name/2",[1,23.246]],["parent/2",[]],["name/3",[2,34.232]],["parent/3",[1,1.993]],["name/4",[3,34.232]],["parent/4",[1,1.993]],["name/5",[4,34.232]],["parent/5",[1,1.993]],["name/6",[5,23.246]],["parent/6",[]],["name/7",[6,34.232]],["parent/7",[5,1.993]],["name/8",[7,34.232]],["parent/8",[8,1.678]],["name/9",[9,29.124]],["parent/9",[8,1.678]],["name/10",[10,34.232]],["parent/10",[8,1.678]],["name/11",[11,34.232]],["parent/11",[8,1.678]],["name/12",[12,34.232]],["parent/12",[8,1.678]],["name/13",[13,34.232]],["parent/13",[8,1.678]],["name/14",[5,23.246]],["parent/14",[5,1.993]],["name/15",[14,25.759]],["parent/15",[]],["name/16",[14,25.759]],["parent/16",[14,2.209]],["name/17",[15,25.759]],["parent/17",[]],["name/18",[15,25.759]],["parent/18",[15,2.209]],["name/19",[16,25.759]],["parent/19",[]],["name/20",[16,25.759]],["parent/20",[16,2.209]],["name/21",[17,25.759]],["parent/21",[]],["name/22",[17,25.759]],["parent/22",[17,2.209]],["name/23",[18,29.124]],["parent/23",[]],["name/24",[19,34.232]],["parent/24",[18,2.497]],["name/25",[20,23.246]],["parent/25",[]],["name/26",[21,34.232]],["parent/26",[20,1.993]],["name/27",[20,23.246]],["parent/27",[20,1.993]],["name/28",[22,23.246]],["parent/28",[]],["name/29",[23,34.232]],["parent/29",[22,1.993]],["name/30",[22,23.246]],["parent/30",[22,1.993]],["name/31",[24,25.759]],["parent/31",[]],["name/32",[24,25.759]],["parent/32",[24,2.209]],["name/33",[25,19.568]],["parent/33",[]],["name/34",[26,34.232]],["parent/34",[25,1.678]],["name/35",[27,34.232]],["parent/35",[28,2.497]],["name/36",[29,34.232]],["parent/36",[28,2.497]],["name/37",[30,34.232]],["parent/37",[25,1.678]],["name/38",[9,29.124]],["parent/38",[31,2.497]],["name/39",[32,34.232]],["parent/39",[31,2.497]],["name/40",[33,34.232]],["parent/40",[34,2.935]],["name/41",[35,34.232]],["parent/41",[25,1.678]],["name/42",[36,34.232]],["parent/42",[25,1.678]],["name/43",[37,34.232]],["parent/43",[25,1.678]],["name/44",[38,34.232]],["parent/44",[]]],"invertedIndex":[["__type",{"_index":33,"name":{"40":{}},"parent":{}}],["addclass",{"_index":2,"name":{"3":{}},"parent":{}}],["addeventlistener",{"_index":36,"name":{"42":{}},"parent":{}}],["attr",{"_index":10,"name":{"10":{}},"parent":{}}],["childof",{"_index":0,"name":{"0":{},"1":{}},"parent":{"1":{}}}],["children",{"_index":13,"name":{"13":{}},"parent":{}}],["class",{"_index":7,"name":{"8":{}},"parent":{}}],["classes",{"_index":1,"name":{"2":{}},"parent":{"3":{},"4":{},"5":{}}}],["createelement",{"_index":5,"name":{"6":{},"14":{}},"parent":{"7":{},"14":{}}}],["createelement\".createelementprop",{"_index":8,"name":{},"parent":{"8":{},"9":{},"10":{},"11":{},"12":{},"13":{}}}],["createelementprop",{"_index":6,"name":{"7":{}},"parent":{}}],["html",{"_index":12,"name":{"12":{}},"parent":{}}],["htmlelementtag",{"_index":19,"name":{"24":{}},"parent":{}}],["iaddeventlistener",{"_index":30,"name":{"37":{}},"parent":{}}],["iaddeventlisteneroptions",{"_index":26,"name":{"34":{}},"parent":{}}],["id",{"_index":9,"name":{"9":{},"38":{}},"parent":{}}],["index",{"_index":38,"name":{"44":{}},"parent":{}}],["indom",{"_index":24,"name":{"31":{},"32":{}},"parent":{"32":{}}}],["insertafter",{"_index":14,"name":{"15":{},"16":{}},"parent":{"16":{}}}],["iselement",{"_index":16,"name":{"19":{},"20":{}},"parent":{"20":{}}}],["iswindow",{"_index":17,"name":{"21":{},"22":{}},"parent":{"22":{}}}],["listenerelement",{"_index":35,"name":{"41":{}},"parent":{}}],["listeners",{"_index":25,"name":{"33":{}},"parent":{"34":{},"37":{},"41":{},"42":{},"43":{}}}],["listeners\".iaddeventlistener",{"_index":31,"name":{},"parent":{"38":{},"39":{}}}],["listeners\".iaddeventlistener.remove",{"_index":34,"name":{},"parent":{"40":{}}}],["listeners\".iaddeventlisteneroptions",{"_index":28,"name":{},"parent":{"35":{},"36":{}}}],["once",{"_index":27,"name":{"35":{}},"parent":{}}],["parent",{"_index":11,"name":{"11":{}},"parent":{}}],["passive",{"_index":29,"name":{"36":{}},"parent":{}}],["remove",{"_index":32,"name":{"39":{}},"parent":{}}],["removechildren",{"_index":15,"name":{"17":{},"18":{}},"parent":{"18":{}}}],["removeclass",{"_index":3,"name":{"4":{}},"parent":{}}],["removeeventlistener",{"_index":37,"name":{"43":{}},"parent":{}}],["selectall",{"_index":22,"name":{"28":{},"30":{}},"parent":{"29":{},"30":{}}}],["selectone",{"_index":20,"name":{"25":{},"27":{}},"parent":{"26":{},"27":{}}}],["selectorall",{"_index":23,"name":{"29":{}},"parent":{}}],["selectorone",{"_index":21,"name":{"26":{}},"parent":{}}],["toggleclass",{"_index":4,"name":{"5":{}},"parent":{}}],["types",{"_index":18,"name":{"23":{}},"parent":{"24":{}}}]],"pipeline":[]}}
{
"name": "vevet-dom",
"version": "0.0.10",
"version": "0.0.11",
"description": "DOM utilities",

@@ -37,3 +37,7 @@ "scripts": {

"dom children",
"insertAfter"
"insertAfter",
"event",
"listener",
"addEventListener",
"removeEventListener"
],

@@ -40,0 +44,0 @@ "author": "Anthony Bobrov <anton.bobrov@hotmail.com>",

@@ -11,2 +11,5 @@ import { insertAfter } from './insertAfter';

import { addClass, removeClass, toggleClass } from './classes';
import {
ListenerElement, IAddEventListenerOptions, IAddEventListener, addEventListener, removeEventListener,
} from './listeners';

@@ -24,2 +27,3 @@ export {

addClass, removeClass, toggleClass,
ListenerElement, IAddEventListenerOptions, IAddEventListener, addEventListener, removeEventListener,
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc