Skip to content
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

Creating a callback option #54

Closed
wants to merge 1 commit into from
Closed

Creating a callback option #54

wants to merge 1 commit into from

Conversation

wiltonlcsj
Copy link

I've inserted a option to be a callback function. I don't know if it's where must be, but worked for me. For example if a user should submit a form after the iframe has been loaded and closed (that was my problem).

@CitizenOfRome
Copy link

Thank you very much for taking the time to create this pull request.

The plugin already has the deferred option where you can pass a jQuery Deferred object with multiple callback functions attached.

And because we lack a reliable way to know if the printing failed, the Deferred object is always resolved after the actual printing has been triggered.

Hope this makes sense?

See also: #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants