Browse Source

Support attrs extension functions in sub elements too (#2126)

pull/2302/head
Philip Wedemann 2 years ago committed by GitHub
parent
commit
f618a73348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web/core/src/jsMain/kotlin/org/jetbrains/compose/web/attributes/AttrsScope.kt

2
web/core/src/jsMain/kotlin/org/jetbrains/compose/web/attributes/AttrsScope.kt

@ -28,7 +28,7 @@ typealias AttrsBuilder<T> = AttrsScopeBuilder<T>
* *
*/ */
@HtmlAttrMarker @HtmlAttrMarker
interface AttrsScope<TElement : Element> : EventsListenerScope { interface AttrsScope<out TElement : Element> : EventsListenerScope {
/** /**
* [style] add inline CSS-style properties to the element via [StyleScope] context * [style] add inline CSS-style properties to the element via [StyleScope] context
* *

Loading…
Cancel
Save