How to use the shufflejs.EventType function in shufflejs

To help you get started, we’ve selected a few shufflejs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ursa-majors / co-ment / client / src / containers / PostsGrid.jsx View on Github external
addShuffleEventListeners = () => {
    this.shuffle.on(Shuffle.EventType.LAYOUT, (data) => {
      PostsGrid.adjustBkgSize();
    });

    this.shuffle.on(Shuffle.EventType.REMOVED, (data) => {
      PostsGrid.adjustBkgSize();
    });
  }
github ursa-majors / co-ment / client / src / containers / PostsGrid.jsx View on Github external
addShuffleEventListeners = () => {
    this.shuffle.on(Shuffle.EventType.LAYOUT, (data) => {
      PostsGrid.adjustBkgSize();
    });

    this.shuffle.on(Shuffle.EventType.REMOVED, (data) => {
      PostsGrid.adjustBkgSize();
    });
  }

shufflejs

Categorize, sort, and filter a responsive grid of items

MIT
Latest version published 9 months ago

Package Health Score

66 / 100
Full package analysis