Skip to content

Commit

Permalink
Include the custom timeout option
Browse files Browse the repository at this point in the history
  • Loading branch information
Sathvik Ponangi committed Aug 1, 2015
1 parent a690a4b commit 5ab3f50
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ You can submit the options object like:
append: null,
prepend: null,
manuallyCopyFormValues: true,
deferred: $.Deferred()
deferred: $.Deferred(),
timeout: 250
});
```
Expand Down Expand Up @@ -88,6 +89,13 @@ Currently this plugin supports the following options:
- Acceptable-Values: Any valid `jQuery.Deferred` object
- Function: A jQuery.Deferred object that is resolved once the print function is called
####timeout
- Default: `250`
- Acceptable-Values: Time in Milliseconds for `setTimeout`
- Function: To change the amount of time to wait for the content, etc to load before printing the element from the new window/iframe created
## Tested with
### jQuery
Expand Down

0 comments on commit 5ab3f50

Please # to comment.