Join Slack
I'm trying to understand how `CanvasBasedWindow` works, I can't find documentation and also no sourc...
# compose-web
l
Leon Kiefer
04/04/2024, 1:53 PM
I'm trying to understand how
CanvasBasedWindow
works, I can't find documentation and also no source code for this component. I want to know how to remove the canvas again so that I can programmatically can control if the compose ui is shown in my existing JS application.
Leon Kiefer
04/04/2024, 2:02 PM
OK I found the implementation
https://github.com/JetBrains/compose-multiplatform-core/blob/11552ff6c005be51ab682[…]CommonW3C/kotlin/androidx/compose/ui/window/ComposeWindow.js.kt
Leon Kiefer
04/04/2024, 2:09 PM
Looks like its currently not possible to dispose the ComposeWindow which is created in CanvasBasedWindow
191
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by