Skip to content

Add a way to pass 2d options to DOM.context2d like willReadFrequently #397

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

Open
bennyschudel opened this issue May 15, 2025 · 1 comment

Comments

@bennyschudel
Copy link

Hi

Can we add a way here to pass options to getContext('2d'). It seems to me that willReadFrequently is only possible when getting the context for the first time.

var context = canvas.getContext("2d");

Best
Benny

@mootari
Copy link
Member

mootari commented May 15, 2025

Fwiw, there's a pending PR: #273

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

2 participants