2017 © Pedro Peláez
 

drupal-module flickity

Provides Flickity library integration for Drupal.

image

outlawplz/flickity

Provides Flickity library integration for Drupal.

  • Monday, March 5, 2018
  • by OutlawPlz
  • Repository
  • 1 Watchers
  • 1 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 62 % Grown

The README.md

Flickity

Provides Flickity library integration for Drupal 8., (*1)

Quick Start

Start using Flickity in three steps., (*2)

  1. Download latest Flickity module form Github or via Composer and enable it as usual., (*3)

    composer require outlawplz/flickity
    
  2. Download latest Flickity library and copy it to the libraries/ folder found at Drupal root folder., (*4)

    # CSS file location
    /libraries/flickity/dist/flickity.min.css
    
    # JS file location
    /libraries/flickity/dist/flickity.pkgd.min.js
    
  3. In a Reference Entity field select Flickity as display mode., (*5)

That's it. You're all set to start using Flickity., (*6)

Options

You can add new configurations or edit existing ones at Configuration > User interface > Flickity. Common options are listed as fields, while advanced options are stored in YAML format., (*7)

# E.g.
imagesLoaded: true
groupCells: 2
lazyLoad: true

To learn more about Flickity options, check out the official documentation., (*8)

Style

Flickity uses CSS to set cell sizing. This way you can alter the number of cell visible at different display size using media queries., (*9)

# Small screens
@media (max-width: 560px) {
  .field__item {
    width: 50%;
  }
}

# Wide screens
@media (min-width: 561px) {
  .field__item {
    width: 25%;
  }
}

To learn more about Flickity styling, check out the official documentation., (*10)

The Versions

05/03 2018

dev-master

9999999-dev

Provides Flickity library integration for Drupal.

  Sources   Download

GPL-3.0

by Matteo Palazzo

05/03 2018

v0.3.0

0.3.0.0

Provides Flickity library integration for Drupal.

  Sources   Download

GPL-3.0

by Matteo Palazzo

22/02 2018

v0.2.1

0.2.1.0

Provides Flickity library integration for Drupal.

  Sources   Download

GPL-3.0

by Matteo Palazzo

15/02 2018

v0.2.0

0.2.0.0

Provides Flickity library integration for Drupal.

  Sources   Download

GPL-3.0

by Matteo Palazzo

23/03 2017

v0.1.1

0.1.1.0

Provides Flickity library integration for Drupal.

  Sources   Download

GPL-3.0

by Matteo Palazzo

23/02 2017

v0.1.0

0.1.0.0

Provides Flickity library integration for Drupal.

  Sources   Download

GPL-3.0

by Matteo Palazzo