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

Add local option to this.$htmlToPaper #36

Closed
jofftiquez opened this issue Feb 4, 2020 · 0 comments
Closed

Add local option to this.$htmlToPaper #36

jofftiquez opened this issue Feb 4, 2020 · 0 comments

Comments

@jofftiquez
Copy link
Member

jofftiquez commented Feb 4, 2020

To override the global options, there must be a local option when invoking the $htmlToPaper prototype. E.g.:

const localOptions = {
  styles: [
   // some custom styles to override the global style
  ]
};
this.$htmlToPaper('elment', options);
  • Add option for dynamic title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant