yii2-flipclock
Wrapper of FlipClock for Yii2., (*1)
Installation
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist spevv/yii2-flipclock "dev-master"
or add, (*4)
"spevv/yii2-flipclock": "dev-master"
to the require section of your composer.json
file., (*5)
Usage
Once the extension is installed, simply use it in your code by :, (*6)
use spevv\flipclock\FlipClock;
= FlipClock::widget([
'selector' => '#clock', // ID for the future DIV
'time' => 60, // Seconds
'varName' => 'clock', // Name of variable for control FlipClock
'options' => array(
// options of FlipClock
),
]);
?>
Useful URLs
Demo
This is widget it wrapper of FlipClock
This widget is extended by yii-flipclock
, (*7)