Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimDez authored Mar 25, 2020
1 parent f3f842c commit 662f19a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,14 @@ supports two way data binding as well
[(page)]="pageVariable"
```

If you want that the `two way data binding` actually updates your `page` variable on page change/scroll - you have to be sure that you define the hight of the container, for example:
```
pdf-viewer {
display: block;
height: 100vh;
}
```

#### [stick-to-page]

| Property | Type | Required |
Expand Down

0 comments on commit 662f19a

Please sign in to comment.