mhunesi / yii2-clndrjs
Yii2 CLNDR js Extension
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- npm-asset/moment: ^2.16.0
- npm-asset/underscore: ^1.10.2
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2025-03-01 00:46:11 UTC
README
Yii2 CLNDR js Extension The package bundle of CLNDR.js plugin. CLNDR is a jQuery calendar plugin. It was created -- you've heard this before -- out of frustration with the lack of truly dynamic front-end calendar plugins out there.
See a demo: kylestetz.github.io/CLNDR/
Installation
The preferred way to install this extension is through composer.
Either run
composer require mhunesi/yii2-clndrjs "*"
or add
"mhunesi/yii2-clndrjs": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \mhunesi\clndrjs\ClndrJsWidget::widget([ 'clientOptions' => [ 'events' => [ [ 'date' => '2020-07-27', 'title' => 'Meeting Title', 'location' => 'Meeting Location' ], [ 'date' => '2020-07-29', 'title' => 'Meeting Title', 'location' => 'Meeting Location' ], ] ] ]) ?>