Chrys
03/17/2025, 9:00 AM<stripe-pricing-table pricing-table-id="prctbl_xxxxx"
publishable-key="pk_test_xxxxx">
</stripe-pricing-table>
. So far i've found this unconclusive github issue: Use HTML tag in Compose for web / Kotlin Wasm 路 Issue #3172 路 JetBrains/compose-multiplatformRobert Jaros
03/17/2025, 9:07 AMRonald Wolvers
03/17/2025, 1:09 PM<canvas/>
where Compose draws, not quite sure, but in my project I have been able to modify the DOM from Kotlin (in a Multiplatform project), using these steps: https://kotlinlang.org/docs/wasm-js-interop.html
Important to point out that the banner "Alpha" is there for a reason, you will definitely run into unexpected behaviors (as I did), so would recommend to use this with caution.
Also interesting perhaps to look at:
https://stackoverflow.com/questions/12652769/rendering-html-elements-to-canvas
I have not tried these solutions first-hand, but if you don't want to stop with the "not-implemented-yet" scenario, perhaps it's interesting to look at!Ronald Wolvers
03/17/2025, 1:24 PM<canvas />
will - I think - be (very) difficult, especially difficult if it needs to properly interact with Compose and not break its "context", but I think the Kotlin/WASM interop code is fully open source (https://github.com/Kotlin/kotlinx-browser) and at the same time I'm not entirely sure how active development on it is, but the code is there to modify!Chrys
03/17/2025, 5:25 PMRonald Wolvers
03/18/2025, 1:12 PM