penblu/fullcalendar

由 PenBlu 创建的用于使用 jquery-fullcalendar 库的扩展

安装次数: 7

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

公开问题: 0

语言:JavaScript

类型:yii2-extension

1.0.0 2020-05-19 16:37 UTC

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 [![Build Status](https://travis-ci.cn/fullcalendar/fullcalendar.svg?branch=master)](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)