UNPKG

vevet

Version:

Vevet is a JavaScript library for creative development that simplifies crafting rich interactions like split text animations, carousels, marquees, preloading, and more.

17 lines 493 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isIgnored = isIgnored; var isString_1 = require("../../../internal/isString"); function isIgnored(element, ignore) { if (!ignore) { return false; } if ((0, isString_1.isString)(ignore)) { return element.matches(ignore); } if (typeof ignore === 'function') { return ignore(element); } return ignore.includes(element); } //# sourceMappingURL=isIgnored.js.map