gaearon / scribe-plugin-toolbar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scribe-plugin-toolbar Build Status

Installation

bower install scribe-plugin-toolbar

Alternatively, you can access the distribution files through GitHub releases.

Usage Example

scribe-plugin-toolbar is an AMD module:

require(['scribe', 'scribe-plugin-toolbar'], function (Scribe, scribePluginToolbar) {
  var scribeElement = document.querySelector('.scribe');
  // Create an instance of Scribe
  var scribe = new Scribe(scribeElement);

  var toolbarElement = document.querySelector('.toolbar');
  scribe.use(scribePluginToolbar(toolbarElement));
});

About

License:Other