0.2.1 • Published 11 years ago
tabellion v0.2.1
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:
<script src="js/tabellion.js"></script>Basic Usage
You can now instantiate a new MediumEditor object:
<script>var tbl = new Tabellion(<your_table_element);</script>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 :grin:
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
 
