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

dev-master 2020-07-29 11:58 UTC

This package is auto-updated.

Last update: 2024-04-29 04:40:14 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'
            ],
        ]
    ]
]) ?> 

Screenshots

screen-1