Browse Source

ElementBuilder is a fun interface

FUN_INTERFACE
Shagen Ogandzhanian 4 years ago
parent
commit
dd2696058a
  1. 2
      web/core/src/jsMain/kotlin/androidx/compose/web/elements/Base.kt

2
web/core/src/jsMain/kotlin/androidx/compose/web/elements/Base.kt

@ -102,7 +102,7 @@ private open class ElementBuilderImplementation<TElement : Element>(private val
override fun create(): TElement = DomProvider.get(tagName).cloneNode() as TElement override fun create(): TElement = DomProvider.get(tagName).cloneNode() as TElement
} }
interface ElementBuilder<TElement : Element> { fun interface ElementBuilder<TElement : Element> {
fun create(): TElement fun create(): TElement
companion object { companion object {

Loading…
Cancel
Save