codemirror-cubic-bezier
v1.0.2
Published
cubic-bezier for codemirror
Downloads
7
Readme
CodeMirror Cubic-Bezier Addon
CodeMirror Cubic-Bezier Addon like Chrome devtool style
How to use
<link rel="stylesheet" href="addon/cubic-bezier/cubic-bezier.css/>
<script src="addon/cubic-bezier/cubic-bezier-view.js"></script>
<script src="addon/cubic-bezier/cubic-bezier.js"></script>
Set option - View mode
{
cubicbezier : true
}
Set option - Edit mode (open cubic-bezier editor)
cubicbezier {
mode : 'edit'
}
Sample demo - Edit mode
Install
npm
npm install codemirror-cubic-bezier
bower
bower install codemirror-cubic-bezier