A javascript plugin to filter elements from a "masonry" grid.

Overview

npm: v1.1.6

Isolde

Isolde is a lightweight, flexible, and responsive javascript plugin allow you to filter elements from a "masonry" grid.

Quick start

Install

This package can be installed with:

npm install isolde

Or download the latest release.

Load

import isolde from 'isolde';
import 'isolde/dist/isolde.min.css';

const ijs = new isolde();

Usage

  1. Create links (a, div, etc.) that have the attribute data-isolde-link with an identification value corresponding to a family (ex: food, development, etc.).
  2. Wrap your items with blocks (li, div, etc.) that have the attribute data-isolde-el with an identification value corresponding to their family.
  3. Wrap your blocks with a container (ul, div, etc.) that have a className class="isolde-default" and an id id="isolde".
<!-- 1st step -->
<ul>
  <li>
    <a data-isolde-link="all"> [...] </a>
  </li>
  <li>
    <a data-isolde-link="food"> [...] </a>
  </li>
  <li>
    <a data-isolde-link="development"> [...] </a>
  </li>
</ul>

<!-- 3st step -->
<div id="isolde" class="isolde-default">

  <!-- 2nd step -->
  <div data-isolde-el="food"> [...] </div>
  <div data-isolde-el="development"> [...] </div>
  <div data-isolde-el="development"> [...] </div>
</div>

Documentation

Doc

License

MIT

You might also like...

jQuery plugin that combines the functionality of a grid with that of an accordion.

Grid Accordion - jQuery plugin A responsive and touch-enabled jQuery grid accordion plugin that combines the functionality of a grid with that of an a

Dec 16, 2022

Some ideas for grid to slideshow switch animations using GSAP's Flip plugin.

Some ideas for grid to slideshow switch animations using GSAP's Flip plugin.

Grid to Slideshow Switch Animations Some ideas for grid to slideshow switch animations using GSAP's Flip plugin. Article on Codrops Demo Installation

Jun 22, 2023

A simple Todo App with check complete function and filter todo. Made with React and TypeScript.

A simple Todo App with check complete function and filter todo. Made with React and TypeScript.

A simple Todo App with check complete function and filter todo. Made with React and TypeScript. The app can Add, Delete and Edit todo. Todo can be sorted by Complete or Active.

Dec 6, 2022

Filter sale 1K gần bạn

Filter sale 1K gần bạn Tại sao lại có cái này? Đôi khi bạn sẽ nhận được (hoặc săn được) voucher freeship đơn 0đ của shopee (10k hoặc 25k), và phí ship

Nov 25, 2022

List all browsers compat data from MDN and filter with browserlist.

mdn-compat-browserlist List all browsers compat data from MDN and filter with browserlist. Features Support filter all browserlist queries List all br

Apr 17, 2022

Search/Filter beer for beerpong

Search/Filter beer for beerpong

Beer for Beerpong 🍺 You can search beer to play beer pong 🍻 🏓 You sink it, they drink it LINK Technologies 🚀 React React Router Dom Beer Animation

Feb 24, 2022

💻 Countries Web is a web application that lets you view data for all the countries in the world and filter them by country name and continent.

💻 Countries Web is a web application that lets you view data for all the countries in the world and filter them by country name and continent.

🌎 Countries Web View Demo This is the Countries Web, a web application that lets you view data for all the countries in the world and filter them by

Jun 23, 2022

jQuery filter for all purposes.

jQuery EasyFilter The easiest way to filter anything! How to use 1. Include jQuery (ignore this if you have already included on the page). script src

Jun 17, 2022

Easy view and filter all follows and following. Auto update by GitHub Action.

Easy view and filter all follows and following. Auto update by GitHub Action.

😳 List All Followers And Following Easy view and filter all follows and following. Auto update by GitHub Action. Since GitHub's default follows and f

Dec 28, 2022
Comments
  • Hidden elements are still in the flux

    Hidden elements are still in the flux

    Version

    0.1.0

    Reproduce

    Open /examples/index.html with any browser. Click on the link called Funny and scroll down.

    overflow

    As you can see, hidden elements are still in the flux and create empty space under the plugin's container.

    Solution

    Adding overflow: hidden to the parent (by default: #sortable) can fix this issue.

    NOTE: Be careful, if we do that, it will cut element's animations.

    cut

    enhancement 
    opened by TristanBlg 0
Releases(v1.1.6)
Owner
Tristan BOULANGER
Front-end developer
Tristan BOULANGER
Freewall is a cross-browser and responsive jQuery plugin to help you create grid, image and masonry layouts for desktop, mobile, and tablet...

Freewall Freewall is a cross-browser and responsive jQuery plugin to help you create many types of grid layouts: flexible layouts, images layouts, nes

Minh Nguyen 1.9k Dec 27, 2022
Simple, responsive and lightweight Masonry Grid jQuery Plugin.

jquery-masonry-grid Simple, responsive and lightweight Masonry Grid jQuery Plugin. Installation Add the script before closing the <body> tag (make sur

Peter Breitzler 8 Jun 9, 2022
Minimalistic portfolio/photography site with masonry grid, page transitions and big images.

Gatsby Starter Portfolio: Emilia Minimalistic portfolio/photography site with masonry grid, page transitions and big images. Themeable with Theme UI.

Cryptob3auty 1 May 20, 2022
Obsidian-dataview-table-filter-menu - Dynamically created filter menu for dataview tables in obsidian

Dataview table Filter Menu for Obsidian Dynamically created filter menu for data

shiro 17 Sep 24, 2022
Create a deep copy of a set of matched elements with the dynamic state of all form elements copied to the cloned elements.

jq-deepest-copy FUNCTION: Create a deep copy of a set of matched elements while preserving the dynamic state of any matched form elements. Example Use

Michael Coughlin 5 Oct 28, 2022
Script para crear un layout tipo masonry.

light-masonry Script para crear un layout tipo masonry. Solo es necesario tener el contenedor junto a sus hijos que se acomodaran en este tipo de layo

Lenin Felix 2 Feb 4, 2022
Minimalist dependancy free Masonry layout library

MiniMasonry.js Minimalist dependency free Masonry layout library MiniMasonry is a lightweight dependency free Masonry layout. It will compute elements

Spope 343 Dec 4, 2022
Customizable masonry Flatlist. it just behave like Flatlist but using ScrollView behind the scene

Would you like to support me? react-native-masonry-grid Customizable masonry Flatlist. it just behave like Flatlist but using ScrollView behind the sc

Numan 5 Sep 7, 2022
Fancytree - JavaScript tree view / tree grid plugin with support for keyboard, inline editing, filtering, checkboxes, drag'n'drop, and lazy loading

Fancytree Fancytree (sequel of DynaTree 1.x) is a JavaScript tree view / tree grid plugin with support for keyboard, inline editing, filtering, checkb

Martin Wendt 2.6k Jan 9, 2023
Kalman Filter in Javascript

Kalman Kalman filter for Javascript. Dependencies The module requires a sylvester.js (https://github.com/jcoglan/sylvester) compatible matrix and vect

Itamar Weiss 113 Dec 19, 2022