Tabellion
Tabellion is a lightweight script to manipulate tables, table rows and table cells.
Installation
Via npm
Run in your console: npm install tabellion
Via bower
Run in your console: bower install tabellion
Manual installation
Download the latest release and attach tabellion's script to your page:
Basic Usage
You can now instantiate a new MediumEditor object:
API
- root
- addRow([index], [target])
- deleteRow(index)
- addColumn([index], [target])
- deleteColumn(index)
- deleteTable()
- zebrify([options])
- highlight(index)
Developing
Install dev dependencies:
npm install
Run tests:
npm test
Update build:
npm run build
Profit 😁
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Test your changes to the best of your ability.
- Update the documentation to reflect your changes if they add or changes current functionality.
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request