grande-module

0.1.1 • Public • Published

grande-module

Use Grande.js as a CommonJS module eg. in your Browserify builds. Originally forked from Grande.js by mduvall.

This build includes many bug fixes but also alters the way grande works quite a bit. I wanted to use grande as an easy drop-in component in our AngularJS-based SPA admin tools via directives. Via Grande.dispose you can unbind all events bound by grande and also remove any elements appended to the document (the styling menu).

Heading tags from h1 to h5 are supported but you also have the ability to omit any tags from the menu via config.

Usage

  1. Install grande-module with npm:

       npm install grande-module
    
  2. Include css and fonts from the dist folder.

  3. Use it:

     var grande = require('grande-module');
    
     var article = document.createElement('article');
     grande.bind(article);
     document.body.appendChild(article);
    

License

MIT

/grande-module/

    Package Sidebar

    Install

    npm i grande-module

    Weekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • teemualap