fabric
Version:
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
2 lines • 302 B
JavaScript
import{selectorMatches as e}from"./selectorMatches.min.mjs";import{doesSomeParentMatch as t}from"./doesSomeParentMatch.min.mjs";function n(n,r){let i=!0,a=e(n,r.pop());return a&&r.length&&(i=t(n,r)),a&&i&&r.length===0}export{n as elementMatchesRule};
//# sourceMappingURL=elementMatchesRule.min.mjs.map