UNPKG

angular-gantt

Version:

Gantt chart component for AngularJS

307 lines (235 loc) 10.6 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="canonical" href="https://www.angular-gantt.com/configuration/plugins/"> <link rel="shortcut icon" href="../../img/favicon.ico"> <title>Plugins - angular-gantt</title> <link href="../../css/bootstrap-custom.min.css" rel="stylesheet"> <link href="../../css/font-awesome-4.0.3.css" rel="stylesheet"> <link href="../../css/prettify-1.0.css" rel="stylesheet"> <link href="../../css/base.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> </head> <body> <div class="navbar navbar-default navbar-fixed-top" role="navigation"> <div class="container"> <!-- Collapsed navigation --> <div class="navbar-header"> <!-- Expander button --> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <!-- Main title --> <a class="navbar-brand" href="../..">angular-gantt</a> </div> <!-- Expanded navigation --> <div class="navbar-collapse collapse"> <!-- Main navigation --> <ul class="nav navbar-nav"> <li > <a href="../../get-started">Get Started</a> </li> <li class="dropdown active"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Configuration <b class="caret"></b></a> <ul class="dropdown-menu"> <li > <a href="../data">Data</a> </li> <li > <a href="../timespans">Timespans</a> </li> <li > <a href="../attributes">Attributes</a> </li> <li class="active"> <a href=".">Plugins</a> </li> <li > <a href="../customize">Customize</a> </li> <li > <a href="../api">API</a> </li> <li > <a href="../write_plugin">Write a Plugin</a> </li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Plugins <b class="caret"></b></a> <ul class="dropdown-menu"> <li > <a href="../../plugins/labels">Labels</a> </li> <li > <a href="../../plugins/table">Table</a> </li> <li > <a href="../../plugins/tree">Tree</a> </li> <li > <a href="../../plugins/corner">Corner</a> </li> <li > <a href="../../plugins/groups">Groups</a> </li> <li > <a href="../../plugins/dependencies">Dependencies</a> </li> <li > <a href="../../plugins/sortable">Sortable</a> </li> <li > <a href="../../plugins/movable">Movable</a> </li> <li > <a href="../../plugins/drawtask">Draw Task</a> </li> <li > <a href="../../plugins/tooltips">Tooltips</a> </li> <li > <a href="../../plugins/bounds">Bounds</a> </li> <li > <a href="../../plugins/sections">Sections</a> </li> <li > <a href="../../plugins/progress">Progress</a> </li> <li > <a href="../../plugins/overlap">Overlap</a> </li> <li > <a href="../../plugins/resizeSensor">Resize Sensor</a> </li> </ul> </li> <li > <a href="../../sources">Sources</a> </li> <li > <a href="../../contribute">Contribute</a> </li> <li > <a href="../../faq">FAQ</a> </li> <li > <a href="../../about">About</a> </li> </ul> <!-- Search, Navigation and Repo links --> <ul class="nav navbar-nav navbar-right"> <li > <a rel="next" href="../attributes"> <i class="fa fa-arrow-left"></i> Previous </a> </li> <li > <a rel="prev" href="../customize"> Next <i class="fa fa-arrow-right"></i> </a> </li> <li> <a href="https://github.com/angular-gantt/angular-gantt"> <i class="fa fa-github"></i> GitHub </a> </li> </ul> </div> </div> </div> <div class="container"> <div class="col-md-3"><div class="bs-sidebar hidden-print affix well" role="complementary"> <ul class="nav bs-sidenav"> <li class="main active"><a href="#plugins">Plugins</a></li> <li><a href="#enable-a-plugin">Enable a plugin</a></li> <li><a href="#supported-plugins">Supported plugins</a></li> </ul> </div></div> <div class="col-md-9" role="main"> <h1 id="plugins">Plugins</h1> <p>Plugins are additional features that can be configured using attributes defined for each plugin, and some plugins may use additional properties from <a href="../attributes#data">data</a>.</p> <h2 id="enable-a-plugin">Enable a plugin</h2> <ol> <li> <p>Add the plugin module dependency to your application module dependencies list.</p> <pre><code>angular.module('myApp', ['gantt', 'gantt.xxxxxx']); </code></pre> </li> <li> <p>Add the plugin directive as a child element of the gantt directive.</p> <pre><code>&lt;div gantt&gt; &lt;gantt-xxxxxx&gt;&lt;/gantt-xxxxxx&gt; &lt;/div&gt; </code></pre> </li> </ol> <h2 id="supported-plugins">Supported plugins</h2> <ul> <li> <h3 id="table"><a href="../../plugins/table">Table</a></h3> <p>Display row labels in multiple columns on the side.</p> </li> <li> <h3 id="tree"><a href="../../plugins/tree">Tree</a></h3> <p>Display a tree hierarchy for rows.</p> </li> <li> <h3 id="sortable"><a href="../../plugins/sortable">Sortable</a></h3> <p>Sort rows by drag &amp; drop on rows label.</p> </li> <li> <h3 id="movable"><a href="../../plugins/movable">Movable</a></h3> <p>Move and resize tasks.</p> </li> <li> <h3 id="draw-task"><a href="../../plugins/drawtask">Draw Task</a></h3> <p>Draw new tasks with the mouse.</p> </li> <li> <h3 id="progress"><a href="../../plugins/progress">Progress</a></h3> <p>Display a visual indicator showing configured progress of tasks.</p> </li> <li> <h3 id="bounds"><a href="../../plugins/bounds">Bounds</a></h3> <p>Display configured bounds when moving mouse over a task.</p> </li> <li> <h3 id="overlap"><a href="../../plugins/overlap">Overlap</a></h3> <p>Add a border with <code>gantt-task-overlaps</code> CSS class on tasks that overlaps.</p> </li> <li> <h3 id="tooltips"><a href="../../plugins/tooltips">Tooltips</a></h3> <p>Display tooltips when moving mouse over a task.</p> </li> <li> <h3 id="resize-sensor"><a href="../../plugins/resizeSensor">Resize Sensor</a></h3> <p>Use <a href="https://github.com/marcj/css-element-queries">CSS-Element-Queries Polyfill</a> to support dynamic resizing.</p> </li> <li> <h3 id="labels-deprecated"><a href="../../plugins/labels">Labels</a> <strong>DEPRECATED</strong></h3> <p>Display row labels on the side. (Use <a href="../../plugins/table">Table</a> plugin instead)</p> </li> </ul> </div> </div> <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script> <script src="../../js/bootstrap-3.0.3.min.js"></script> <script src="../../js/prettify-1.0.min.js"></script> <script src="../../js/base.js"></script> <script src="../../skeletons/plugin.js"></script> </body> </html>