Skip to content

Commit

Permalink
update documentation to reflect use of options argument
Browse files Browse the repository at this point in the history
  • Loading branch information
leemachin committed Oct 22, 2012
1 parent 3d820a7 commit 6975eb3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions readme.md
Expand Up @@ -48,6 +48,12 @@ Dynamic viewfinder
------------------
Suppose you don't want to take a picture of the entire video, when you're only interested in a small part of it. You can simply click and drag a rectangle over the video to select the area of interest.

To enable this, just set `dynamicViewfinder` to `true` when starting up:

```javascript
var sayCheese = new SayCheese('#element', { dynamicViewfinder: true });
```

To integrate with this, an event is triggered when the user stops interacting with the canvas (mouse and experimental touch events supported).

```javascript
Expand Down

0 comments on commit 6975eb3

Please sign in to comment.