svasandani / dynamic-tags

A vanilla JS library that dynamically generates tags from your DOM, which you can then use to filter elements.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


dynamic-tags is a library designed to supercharge your already existing DOM elements. Just assign any unique CSS class to your tags, and we take care of the rest.

Demos



Feature roadmap

  • implement "input" filter method
  • implement autocomplete algorithm for input filter
  • add more customizable selectors
  • add optional default css styling
  • add tab-to-autocomplete feature to input filterSelectionMethod
  • allow config options for autocomplete/search box
    • strict matching (both)
    • match start only (search box)
  • allow for complicated sub-container structure without breaking functionality

Maintainers

About

A vanilla JS library that dynamically generates tags from your DOM, which you can then use to filter elements.

License:MIT License


Languages

Language:JavaScript 92.7%Language:CSS 7.3%