Chris Sinco [G]
05/07/2021, 2:03 AMiframe
is not in the DOM API, what does one do?jw
05/07/2021, 2:14 AMjw
05/07/2021, 2:16 AMTag
subtype, which you can do. object Iframe : Tag()
. And then you can hang any custom attributes (url, etc.) as extensions off of that.
See https://github.com/JetBrains/androidx/blob/compose-web-main/compose/web/src/jsMain/kotlin/androidx/compose/web/attributes/Attrs.kt for thatChris Sinco [G]
05/07/2021, 2:39 AMchristophsturm
05/07/2021, 7:31 AMChris Sinco [G]
05/07/2021, 5:54 PMYou may need your ownSomething like this? https://github.com/c5inco/portfolio-compose/blob/main/src/jsMain/kotlin/com/c5inco/portfolio/components/Iframe.ktsubtype, which you can do.Tag
hfhbd
05/08/2021, 9:24 AMjim
05/18/2021, 9:24 AMTable
tag is here: https://github.com/JetBrains/androidx/blob/compose-web-main/compose/web/src/jsMain/kotlin/androidx/compose/web/elements/Elements.kt#L440