Giter Site home page Giter Site logo

iso's Introduction

KBD Iso

A class-based generator for differing Isotope filtering options

Install

npm i kbd-iso

Usage

Iso = require 'kbd-iso'
sort = new Iso
	container: 'iso'
	items: 'iso__item'
	filters: 'iso__filter'
	gutter: 16
	filterType: 'simple'

sort.init()

Options

  • container: String, ID of Isotope Container
  • items: String, Classname of Isotope items
  • filters: String, Classname of Isotope filters
  • gutter: Int, Width of desired gutter
  • lazy: Boolean, Lazyload Images?
  • filterType: String; 'simple', 'dropdownFilters', 'sidebarFilters'
  • sidebarButton: String, Classname of Sidebar Trigger
  • sidebar: String, Classname of Sidebar for filters
  • menus: String, Classname of dropdown menus
  • notify: Boolean, Optional for appending "No results found" to Isotope instance when nothing is returned
  • clearFiltersButton: String, Classname for optional button to clear all current filters
  • sort: Object, Pass in sorting options for order, sortBy and sortAscending
  • setHeightToWidth: Boolean, If you need to run this function from the KBD Utility it is built in.

iso's People

Contributors

thesublimeobject avatar

Stargazers

 avatar Matt Foxx avatar David DeSandro avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.