printThis
printThis copied to clipboard
Planning for Version 2.0
Potential list of to-dos:
- Retest $iframe.ready() and $iframe.load browser support
- Remove setTimeouts (potential) #85
- Match options to be in the same format ("tense")
- Add complete event ( #54 ); likely dependent on # 1 above
- Universal module #121
- or remove jQuery dependencies?
@oculus42 other potential changes?
I had crazy visions of making the various features into modules that could be loaded.
Additional question: Do you want to set a browser support limit for 2.0?
@oculus42 - depends on what we want to do, but yeah - probably
potential option for event after print, but needs thorough testing: https://www.tjvantoll.com/2012/06/15/detecting-print-requests-with-javascript/
And because window.matchMedia('print');
fires twice in chrome, this may not be a valid option (and does it fire twice in chrome consistently?)
Add integration with a pdf generation library.
Do you have any idea when the pdf generation would be ready? :)
I'm using printThis this in an ember addon and soon-ish Ember will be removing jquery. So removing the jquery dependency would be amazing. Thanks for the great work.
That's potentially on our list for a version 2, but presents some unique challenges.
On Sun, Aug 26, 2018 at 8:58 PM Lucas Hill [email protected] wrote:
I'm using printThis this in an ember addon https://github.com/LucasHill/ember-print-this and soon-ish Ember will be removing jquery. So removing the jquery dependency would be amazing. Thanks for the great work.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/jasonday/printThis/issues/122#issuecomment-416086644, or mute the thread https://github.com/notifications/unsubscribe-auth/AAtp62CpBTLhXV_h561Xdv9rJCeeIWoHks5uU0QXgaJpZM4On4LG .
Added a 2.0 project: https://github.com/jasonday/printThis/projects/1
Vote for #5