Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednabulsi authored Jul 30, 2018
1 parent 208dd03 commit 1ce2009
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
# LumenCanvas

### Example
```js
new LumenCanvas({selector : ".drawing-canvas"})
```

### How to call a method
```js
var LumenCanvasInstance = $(".drawing-canvas").data("LumenCanvas");
var jsonData = LumenCanvasInstance.GetJSON();
```

0 comments on commit 1ce2009

Please sign in to comment.