oam-browser-filters
The grid filters used by the oam-browser front end
Last updated 5 years ago by anandthakker .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install oam-browser-filters 
SYNC missed versions from official npm registry.

oam-browser-filters

The grid filters used by the oam-browser front end

Usage

var filters = require('oam-browser-filters')

var combo1 = filter.getCombination('all', 'all', 'all')
var combo2 = filter.getCombination('week', 'medium', 'service')

console.log(combo2.key) // the key used in the vector tile grid data
console.log(combo2.searchParams) // the oam-catalog search parameters associated w this combination of filters.

console.log(filters.getAllCombinations()) // all the possible filter combinations

Current Tags

  • 2.0.0                                ...           latest (5 years ago)

4 Versions

  • 2.0.0                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |