diff --git a/README.md b/README.md
index 8de90ad..87d2f38 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@ You can submit the options object like:
prepend: null,
manuallyCopyFormValues: true,
deferred: $.Deferred(),
- timeout: 250,
+ timeout: 750,
title: null,
doctype: ''
});
@@ -93,9 +93,9 @@ Currently this plugin supports the following options:
####timeout
- - Default: `250`
+ - Default: `750`
- 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
+ - Function: To change the amount of max time to wait for the content, etc to load before printing the element from the new window/iframe created, as a fallback if the [`load` event](https://developer.mozilla.org/en-US/docs/Web/Events/load) for the new window/iframe has not fired yet
####title
diff --git a/bower.json b/bower.json
index 466ae5c..00c93d0 100644
--- a/bower.json
+++ b/bower.json
@@ -1,7 +1,7 @@
{
"name": "jQuery.print",
"main": "jQuery.print.js",
- "version": "1.4.1",
+ "version": "1.5.0",
"homepage": "https://doersguild.github.io/jQuery.print/",
"authors": [
"Sathvik P Element 2
Some other random text.
Some really random text.
+
+ $("#ele4").find('button').on('click', function() {
+ //Print ele4 with custom options
+ $("#ele4").print({
+ //Use Global styles
+ globalStyles : false,
+ //Add link with attrbute media=print
+ mediaPrint : false,
+ //Custom stylesheet
+ stylesheet : "http://fonts.googleapis.com/css?family=Inconsolata",
+ //Print in a hidden iframe
+ iframe : false,
+ //Don't print this
+ noPrintSelector : ".avoid-this",
+ //Add this at top
+ prepend : "Hello World!!!
",
+ //Add this on bottom
+ append : "
Buh Bye!"
+ });
+ });
+