Skip to content

Commit

Permalink
updated readme for no apparent reason
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyGermaneri committed Sep 6, 2018
1 parent b6f72ae commit 545ff01
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ canvas-datagrid
* Support for freezing columns and rows.
* Customizable hierarchal context menu.
* Built in and custom styles.
* W3C web component.
* Per-user styles, view preferences and settings using localStorage.
* W3C Web Component.
* Per-user styles, column sizes, row sizes, view preferences and settings using localStorage.
* Very small file size, no dependencies.

[Documentation](https://tonygermaneri.github.io/canvas-datagrid/docs/)
Expand Down Expand Up @@ -85,7 +85,7 @@ Using pure JavaScript
];


Using web component
Using Web Component
-------------------

<!--
Expand All @@ -106,6 +106,15 @@ Using web component
]</canvas-datagrid>


or

var grid = document.createElement('canvas-datagrid');
grid.data = [
{"col1": "row 1 column 1", "col2": "row 1 column 2", "col3": "row 1 column 3"},
{"col1": "row 2 column 1", "col2": "row 2 column 2", "col3": "row 2 column 3"}
];


More Demos
----------

Expand Down Expand Up @@ -148,7 +157,7 @@ To build documentation.

npm run build-docs

To run tests.
To run tests. Note: Headless tests will mostly fail due to lack of headless canvas pixel detection support. Use VM testing or your browser.

npm test

Expand Down

0 comments on commit 545ff01

Please sign in to comment.