Skip to content

A JavaScript Web Component for conveniently displaying filtering options. No dependencies.

License

Notifications You must be signed in to change notification settings

Dulce-Engineering/filter-buddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filter Buddy

Filter Buddy allows one to easily define filter options for frontend components like tables. Three display modes allow one to display filter options as a single filter button, a set of visible filters with additional hidden, or all filters immediately visible. When a user clicks "search", Filter Buddy returns a single object with all filter values which can be passed to a backend or client-side table component. Filter Buddy is written as a JavaScript Web Component with no dependencies.

Minimal View

  • Shows a filter button through which a user may add filters.
  • Shows tags indicating which filters are currently in effect.
  • Shows a search button to initiate the search process.
  • When the filter button is clicked, switches to the full-size view so that users may enter filter values.

Minimal with Default Filters

  • Shows all features of the minimal view.
  • Some filters can be tagged for immediate display.

Full-Size View

  • Shows every filter a user may set.

Sample Image

alt text

Filter Types

Filter Buddy currently supports the following filter types but custom filters are possible:

  • Text
  • Select: A list of mutually-exclusive options
  • Number
  • Date & Time

About

A JavaScript Web Component for conveniently displaying filtering options. No dependencies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published