%PDF- %PDF-
Direktori : /var/www/html/node_modules/swiper/shared/ |
Current File : //var/www/html/node_modules/swiper/shared/dom.js |
import { $, addClass, removeClass, hasClass, toggleClass, attr, removeAttr, transform, transition, on, off, trigger, transitionEnd, outerWidth, outerHeight, styles, offset, css, each, html, text, is, index, eq, append, prepend, next, nextAll, prev, prevAll, parent, parents, closest, find, children, filter, remove } from 'dom7'; const Methods = { addClass, removeClass, hasClass, toggleClass, attr, removeAttr, transform, transition, on, off, trigger, transitionEnd, outerWidth, outerHeight, styles, offset, css, each, html, text, is, index, eq, append, prepend, next, nextAll, prev, prevAll, parent, parents, closest, find, children, filter, remove }; Object.keys(Methods).forEach(methodName => { Object.defineProperty($.fn, methodName, { value: Methods[methodName], writable: true }); }); export default $;