2017 © Pedro Peláez
 

yii2-extension yii2visjs

Yii2 visjs Widgets

image

philippfrenzel/yii2visjs

Yii2 visjs Widgets

  • Monday, February 6, 2017
  • by philippfrenzel
  • Repository
  • 2 Watchers
  • 3 Stars
  • 128 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 8 % Grown

The README.md

yii2visjs

JQuery visjs Yii2 Extension JQuery from: http://visjs.org Version 2.1.1 License MIT, (*1)

JQuery Documentation: http://visjs.org/docs/index.html Yii2 Extension by philipp@frenzel.net, (*2)

Latest Stable Version Build Status Code Climate Version Eye License, (*3)

Installation

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

add the following line to your composer.json require section:, (*5)

  "philippfrenzel/yii2visjs":"*",

And ensure, that you have the follwing plugin installed global:, (*6)

php composer.phar global require "fxp/composer-asset-plugin:~1.0", (*7)

Changelog

06-02-2017 Move to latest 4.16.1 Version of VIS Library, (*8)

29-11-2014 Updated to latest 2.2.3 Version of the library, (*9)

Usage

Quickstart Looks like this:, (*10)


= \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., (*11)

AJAX Usage

If you wanna use ajax loader, this could look like this:, (*12)

TBD

The Versions

06/02 2017

dev-master

9999999-dev http://www.frenzel.net/

Yii2 visjs Widgets

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 visjs

13/05 2015

1.0.0

1.0.0.0 http://www.frenzel.net/

Yii2 visjs Widgets

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 visjs