macrowish/yii2-smoothstate

Unobtrusive page transitions for Yii2: http://smoothstate.com/

Installs: 30

Dependents: 1

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2016-09-24 22:32 UTC

This package is not auto-updated.

Last update: 2022-01-12 07:03:19 UTC


README

Unobtrusive page transitions for Yii2: http://smoothstate.com/

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist macrowish/yii2-smoothstate "dev-master"

or add

"macrowish/yii2-smoothstate": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in any view file by :

<?php
use macrowish\widgets\SmoothState;
?>

<?php SmoothState::begin(); ?>
Dynamically loaded content here.
<?php SmoothState::end(); ?>

To-Do

  • Allow for JS Customization i.e. smoothState options, event handlers, etc.