Skip to content

2.5.0: "Relative" selectors for data-attribute factory

Choose a tag to compare

@CVE42-chicken CVE42-chicken released this 27 Jun 14:03
· 11 commits to main since this release
1fdd8eb

Feature

  • [feat] "self" and relative (parent) virtual selectors for Data-Attribute Factory (9b3bae1)
    Use data-triggertarget="self" and data-triggertarget="relative::parent::parent::[data-attribute=\"value\"}" to select target elements relative to the trigger being configured.

Caveats

The global that jQuery is read from has changed from window.$ to window.jQuery. This might cause compatibility problems in some rare setups.

Maintenance

  • [chore] Add CI configuration (d6eed19)
  • [chore] Fix demos; add basic factory; fix jquery global (5de165a)