https://github.com/dhtmlx/firebase-gantt
Firebase adapter for DHTMLX Gantt
https://github.com/dhtmlx/firebase-gantt
Last synced: 9 months ago
JSON representation
Firebase adapter for DHTMLX Gantt
- Host: GitHub
- URL: https://github.com/dhtmlx/firebase-gantt
- Owner: DHTMLX
- Created: 2015-04-20T09:02:13.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-24T17:13:57.000Z (over 10 years ago)
- Last Synced: 2025-04-23T10:11:32.450Z (9 months ago)
- Language: JavaScript
- Homepage: http://dhtmlx.com/docs/products/dhtmlxGantt/
- Size: 544 KB
- Stars: 5
- Watchers: 15
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Firebase adapter for dhtmlxGantt
=============================
Library allows using [dhtmlxGantt](http://dhtmlx.com/docs/products/dhtmlxGantt) components with [FireBase](https://firebase.com/)
Citing the Firebase site:
When data changes, apps built with Firebase update instantly across every device -- web or mobile.
Firebase-powered apps work offline. Data is synchronized instantly when your app regains connectivity.
How to use
-----------
Include dhtmlxGantt and Firebase files on the page
```html
```
Create html for dhtmlxGantt
```html
```
Init dhtmlxGantt
```js
gantt.init("gantt_here");
```
Create firebase connection and set this to gantt
```js
var data = new Firebase("https://dhtmlxgantttest.firebaseio.com/"),
//Load data from first collections.
gantt.firebase({tasks: data.child("tasks"), links: data.child("links")});
```
Stop the data adapter
```js
gantt.firebaseStop();
```
That is it.
License
----------
DHTMLX is published under the GPLv3 license.
Firebase adapter is published under MIT license
License:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2015 DHTMLX
```