2.3.0 • Published 7 years ago

chirashi-cover v2.3.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

chirashi-cover

npm version Standard - JavaScript Style Guide Code Climate Issue Count

Get started

API documentation, guide and more coming on chirashijs.org.

Quick view

Installation

Using npm

npm i --save chirashi-cover

Now you can import methods in your project:

import ChirashiCover from 'chirashi-cover'

const cover = new ChirashiCover({
  [
    {
      elements: '.fill',
      mode: 'fill'
    }
  ],
  auto: true
})

For advanced usage see chirashi-loader.

Standalone

You can also load chirashi-cover.js or chirashi-cover.min.js using a script tag. You'll need to load its dependencies the same way, fastdom, chirashi and chirashi-utils. It'll create an intance of ChirashiCover on your window. Then use as following example

var cover = new ChirashiCover({
  [
    {
      elements: '.fill',
      mode: 'fill'
    }
  ],
  auto: true
})
2.3.0

7 years ago

2.2.2

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago