Skip to content

Core Functionality

Compare
Choose a tag to compare
@offthehandle offthehandle released this 24 May 02:50
· 39 commits to master since this release

This release includes the beta tested core JS functionality of Isolate, several optional and easy-to-use grid scaffoldings (literally no programming involved), minified and uncompressed versions of the JS and CSS files with min-maps, and the LESS source. Some handy features include:

  1. Isolating a class of elements by button click (default)
  2. Filtering a class of elements by button click filter: true
  3. Scaffolding support built on Twitter Bootstrap 3 (BS) and BS 2. To lighten your load, the column classes are generated dynamically. Just specify colSpan: number[, breakpoint: string] (breakpoint affects BS 3 only) when you initialize the plugin. BS 3 is the default, but if you'd rather use 2 just pass the option version: 2
  4. You don't need to use BS—or any scaffolding at all!—but a custom grid can be called when desired in a non-BS project. Just pass the options bootstrap: false, columns: true

Oh! And you won't need rows upon rows either. Who wants their filtered elements stuck in a row, where they only move left or right? That's not a good UX!! We want them to stay tight and float up, so just wrap the elements to be filtered in a single row, and Isolate takes care of the rest for you.

A website with demos, and a CSS skin will be forthcoming.