macrowish / yii2-smoothstate
Unobtrusive page transitions for Yii2: http://smoothstate.com/
Package info
github.com/macrowish/yii2-smoothstate
Type:yii2-extension
pkg:composer/macrowish/yii2-smoothstate
dev-master
2016-09-24 22:32 UTC
Requires
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.