Skip to content

Commit 9a3da1d

Browse files
committed
docs: add default for canvasid
1 parent 0abce8f commit 9a3da1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Check [`bower.json` file](https://github.com/sayanee/angularjs-pdf/blob/master/b
7474
```html
7575
<ng-pdf template-url="/partials/viewer.html" page=12></ng-pdf>
7676
```
77-
- `canvasid` as an option for `id` of the canvas
77+
- `canvasid` as an option for `id` of the canvas (default for `canvasid` is `pdf-canvas`)
7878

7979
```html
8080
<ng-pdf template-url="/partials/viewer.html" canvasid="mycanvas"></ng-pdf>

0 commit comments

Comments
 (0)