Skip to content

Add pause() function. #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ api.
<td>no</td>
<td>This flag is used to determine when to display the controls. Never, always and hover do exactly what you would expect (never show them, always show them, show them on hover). The auto flag is the same as the hover flag, except that on mobile devices it always shows the controls (since there is no hover event).</td>
</tr>
<tr>
<td>paused</td>
<td>boolean</td>
<td>false</td>
<td>no</td>
<td>Should the plugin start paused ?</td>
</tr>
</table>

## Methods
Expand Down Expand Up @@ -147,6 +154,11 @@ api.
<td>(none)</td>
<td>Generate a Blob with the cropped image (requires HTML5 compliant browser).</td>
</tr>
<tr>
<td>pause</td>
<td>(none)/boolean</td>
<td>Pauses the events but keeps the cropbox alive. Can force the state of the pause with a boolean parameter.</td>
</tr>
<tr>
<td>remove</td>
<td>(none)</td>
Expand Down
Loading