maks757 / yii2-flipclock
Wrapper of FlipClock for Yii2.
Package info
github.com/maks757/yii2-flipclock
Language:JavaScript
Type:yii2-extension
pkg:composer/maks757/yii2-flipclock
0.0.002
2017-02-16 15:30 UTC
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2026-03-01 03:26:51 UTC
README
Wrapper of FlipClock for Yii2.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist spevv/yii2-flipclock "dev-master"
or add
"spevv/yii2-flipclock": "dev-master"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
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