定制 philippfrenzel/yii2visjs 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

philippfrenzel/yii2visjs

最新稳定版本:1.0.0

Composer 安装命令:

composer require philippfrenzel/yii2visjs

包简介

Yii2 visjs Widgets

关键字:

README 文档

README

JQuery visjs Yii2 Extension JQuery from: http://visjs.org Version 2.1.1 License MIT

JQuery Documentation: http://visjs.org/docs/index.html Yii2 Extension by philipp@frenzel.net

Latest Stable Version Build Status Code Climate Version Eye License

Installation

Package is although registered at packagist.org - so you can just add one line of code, to let it run!

add the following line to your composer.json require section:

  "philippfrenzel/yii2visjs":"*",

And ensure, that you have the follwing plugin installed global:

php composer.phar global require "fxp/composer-asset-plugin:~1.0"

Changelog

06-02-2017 Move to latest 4.16.1 Version of VIS Library

29-11-2014 Updated to latest 2.2.3 Version of the library

Usage

Quickstart Looks like this:

  
  <?= \yii2visjs\yii2visjs::widget([
      'clientOptions' => [
        'editable' => false
      ],
      'dataSet' => [
        [
          'id' => 1,
          'start' => '2015-05-13T14:00:00',
          'end'=> '2015-05-14T01:00:00',
          'content' => 'Test A',
          'type' => 'range'
        ],
        [
          'id' => 2,
          'start' => '2015-05-15T15:00:00',
          'end'=> '2015-05-16T02:00:00',
          'content' => 'Test B',
          'type' => 'box'
        ]
      ],
    ]); ?>

Note, that this will only view the events without any detailed view or option to add a new event.. etc.

AJAX Usage

If you wanna use ajax loader, this could look like this:

TBD

统计信息

  • 总下载量: 310
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固