dom-helpers
Version:
tiny modular DOM lib for ie9+
92 lines • 3.07 kB
JavaScript
import activeElement from "./activeElement.js";
import addClass from "./addClass.js";
import addEventListener from "./addEventListener.js";
import animate from "./animate.js";
import { cancel as cancelAnimationFrame, request as requestAnimationFrame } from "./animationFrame.js";
import attribute from "./attribute.js";
import childElements from "./childElements.js";
import clear from "./clear.js";
import closest from "./closest.js";
import contains from "./contains.js";
import childNodes from "./childNodes.js";
import style from "./css.js";
import filter from "./filterEventHandler.js";
import getComputedStyle from "./getComputedStyle.js";
import hasClass from "./hasClass.js";
import height from "./height.js";
import insertAfter from "./insertAfter.js";
import isInput from "./isInput.js";
import isVisible from "./isVisible.js";
import listen from "./listen.js";
import matches from "./matches.js";
import nextUntil from "./nextUntil.js";
import offset from "./offset.js";
import offsetParent from "./offsetParent.js";
import ownerDocument from "./ownerDocument.js";
import ownerWindow from "./ownerWindow.js";
import parents from "./parents.js";
import position from "./position.js";
import prepend from "./prepend.js";
import querySelectorAll from "./querySelectorAll.js";
import remove from "./remove.js";
import removeClass from "./removeClass.js";
import removeEventListener from "./removeEventListener.js";
import scrollbarSize from "./scrollbarSize.js";
import scrollLeft from "./scrollLeft.js";
import scrollParent from "./scrollParent.js";
import scrollTo from "./scrollTo.js";
import scrollTop from "./scrollTop.js";
import siblings from "./siblings.js";
import text from "./text.js";
import toggleClass from "./toggleClass.js";
import transitionEnd from "./transitionEnd.js";
import triggerEvent from "./triggerEvent.js";
import width from "./width.js";
export { addEventListener, removeEventListener, triggerEvent, animate, filter, listen, style, getComputedStyle, attribute, activeElement, ownerDocument, ownerWindow, requestAnimationFrame, cancelAnimationFrame, matches, height, width, offset, offsetParent, position, contains, scrollbarSize, scrollLeft, scrollParent, scrollTo, scrollTop, querySelectorAll, closest, addClass, removeClass, hasClass, toggleClass, transitionEnd, childNodes, childElements, nextUntil, parents, siblings, clear, insertAfter, isInput, isVisible, prepend, remove, text };
export default {
addEventListener,
removeEventListener,
triggerEvent,
animate,
filter,
listen,
style,
getComputedStyle,
attribute,
activeElement,
ownerDocument,
ownerWindow,
requestAnimationFrame,
cancelAnimationFrame,
matches,
height,
width,
offset,
offsetParent,
position,
contains,
scrollbarSize,
scrollLeft,
scrollParent,
scrollTo,
scrollTop,
querySelectorAll,
closest,
addClass,
removeClass,
hasClass,
toggleClass,
transitionEnd,
childNodes,
childElements,
nextUntil,
parents,
siblings,
clear,
insertAfter,
isInput,
isVisible,
prepend,
remove,
text
};