Write a Plugin
Copy skeleton file from
Rename the skeleton copy using the plugin name (dash-delimited notation,
Open the plugin file with your favorite editor.
xxxxxxwith the name of the plugin (camelCase notation,
pluginName). Take special care to directive name, that must be camelCase to (
ganttPluginName). There are 5 matches.
Register plugin in
Gruntfile.jsby adding its dash-delimited name to
Add options as binded attributes in the directive
Implement plugin feature using a Template Hook.
You can add additional files in a subfolder named as your filename (without
.js). This folder can contains templates (
*.html), CSS (
*.js). Those files will be included in the build.