penblu / fullcalendar
由 PenBlu 创建的用于使用 jquery-fullcalendar 库的扩展
1.0.0
2020-05-19 16:37 UTC
Requires
- yiisoft/yii2: ~2.0.5
This package is auto-updated.
Last update: 2024-09-20 01:55:29 UTC
README
由 PenBlu 创建的 FullCalendar 扩展
安装
安装此扩展的首选方式是通过 composer。
运行以下命令之一
php composer.phar require --prefer-dist penblu/fullcalendar "*"
或者
"penblu/fullcalendar": "*"
将以下内容添加到你的 composer.json
文件的 require 部分中。
使用方法
安装扩展后,只需在代码中通过以下方式使用它
<?= \penblu\fullcalendar\FullCalendar::widget([ "containerId" => "pb-cal", "lang" => Yii::$app->language, "dataEvents" => $exam,//Json::encode(array()), "maxWidth" => "100%", "margin" => "0px auto", "eventClickFn" => "showEvent", ]); ?>``` # FullCalendar [](https://travis-ci.cn/fullcalendar/fullcalendar) A full-sized drag & drop JavaScript event calendar - [Project website and demos](http://fullcalendar.io/) - [Documentation](http://fullcalendar.io/docs) - [Support](http://fullcalendar.io/support) - [Contributing](CONTRIBUTING.md) - [Changelog](CHANGELOG.md) - [License](LICENSE.txt) *From the blog*: [Changes in the Upcoming v5](https://fullcalendar.io/blog/2020/02/changes-in-the-upcoming-v5)