Collaborative spreadsheet editor
npm install socialcalcSee it in action at ethercalc.net!
require('socialcalc') or include node_modules/socialcalc/dist/SocialCalc.js on your web page using a script tag.In order to create an editor instance use:
``js`
var socialCalcControl = new SocialCalc.SpreadsheetControl()
socialCalcControl.InitializeSpreadsheetControl(el /, height, width, spacebelow/)
This package also works in node.js. You don't need to callc InitializeSpreadsheetControl here, because that is just initializing the rendering.
SocialCalc uses npm and gulp, to get the dependencies, use:
`bash`
npm install`
You can now compile the project usingbash``
npm run build