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

Proposal: .render() #10

Open
asg017 opened this issue Oct 11, 2020 · 0 comments
Open

Proposal: .render() #10

asg017 opened this issue Oct 11, 2020 · 0 comments
Milestone

Comments

@asg017
Copy link
Owner

asg017 commented Oct 11, 2020

  • render(cell, type, options)
    • cell - name of the cell to render.
    • type - one of text, html, svg, png, jpeg, jpg
    • options - object with config for whichever method is picked
  1. Simplicity, pass in args from CLI, documentation would be cleaner, examples easier to follow
  2. Can do optimizations under the hood (e.g. canvas toDataURL instead of screenshot
@asg017 asg017 added this to the v1.0.0 milestone Feb 18, 2021
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