mimicreative/yii2-scrollator

Scrollator Asset Bundle for Yii2

Installs: 126

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Language:JavaScript

Type:yii2-extension

1.0.2 2016-11-23 01:13 UTC

This package is not auto-updated.

Last update: 2024-12-22 03:28:10 UTC


README

Installation

The preferred way to install this extension is through composer.

Add to the require section of your composer.json file:

"mimicreative/yii2-scrollator": "*"

And run in terminal

composer update

Usage

Use as the asset bundle in Yii2 View files.

// write this in your view file or layout
\mimicreative\assets\ScrollatorAsset::register($this);

Or maybe you prefer to include it in your asset dependency.

public $depends = [
  // ...
  'mimicreative\assets\ScrollatorAsset',
  // ...
];

Credit

Scrollator project and documentation can be found here here.