JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q37847F
  • License MIT

Support grouping for CSS Selector via SPGL

Package Exports

  • css-ext

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (css-ext) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

CSS-Ext

Have you ever wondered why CSS selectors do not support nested grouping syntax and make your css selectors cumbersome? From now on, you can prevent from using lengthy selectors!

Example

var sel = 'div(.a,#bc.d) (span,form)';
document.querySelectorAll(SPGL.enum(sel, false).join(','));