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
Canvas support? #78
Comments
@empath I think you'd likely want to add a service of some sort to get the bridge for canvas support. |
If someone is wanting to implement this, I would suggest adding it as a feature to stdweb and then making a service wrapper here. This library already depends on stdweb so it might make sense to add it there. |
Looks like someone already went ahead and added it to stdweb. koute/stdweb#80. It shouldn't be too hard to add here now. |
@keeslinp I want to use the canvas |
Now that stdweb has canvas support, is there any progress on adding support to Yew? |
Why a canvas tag in yew does not compile ? Secondly, for using the canvas api, does yew let me use stdweb out of the box ? which would allow to use the canvas api. |
I don't have time to elaborate or look at this issue in details right now, but I used a canvas with yew recently: https://github.com/totorigolo/pathbot/blob/87df913bbee5906cb2ccc9e0387f9f14630a5386/src/lib.rs#L599 Hope this helps :) |
I think this is no longer an issue, if not, please re-open! |
* Enable doc tests * Clean up Cargo.toml * Fix doc test
* Enable doc tests * Clean up Cargo.toml * Fix doc test
* Enable doc tests * Clean up Cargo.toml * Fix doc test
* Enable doc tests * Clean up Cargo.toml * Fix doc test
I was thinking of rewriting this: http://debug.elm-lang.org/edit/Mario.elm and realized there's no way to update a canvas, afaik. This is probably a far-off feature request, but I think it would be a fun one to add, and something that elm supports, so not outside the scope of the project, I would think?
The text was updated successfully, but these errors were encountered: