Skip to content

Tautulli/filterer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filterer

This project was created for use in PlexPy, to create a dynamic list of conditions to filter by

built using React, wrapped with jquery...

Preview

Preview

Usage

copy dist/filterer.jquery.js to your js directory.

<script src="js/filterer.jquery.js"></script>

config = {
  parameters: [
    {"name": "Title", "type": "string", "value": "title"},
    {"name": "Year", "type": "number", "value": "year"}
  ],
  conditions: [
    {coefficient: "year", operator: "is", value: ""},
    {coefficient: "title", operator: "begins with", value: ""}
  ],
  updateConditions: function(newConditions) {
    // handle new conditions
  }
}

$('element').filterer(config);

Contribute?

Check out the "Create React App" Docs DEVELOP.md

Releases

No releases published

Packages

No packages published

Languages

  • CSS 88.1%
  • JavaScript 9.6%
  • HTML 2.3%