Jon Shemitz
12/13/2023, 11:08 PMcss {} block, I should either be setting transition or be setting transitionProperty + transitionDuration. But while the css.transition property is a Transition?, clicking through to the Transition source shows it as a sealed external interface, not a class with constructor parameters.
Similarly, I'd like to set a gradient background. Again, I expect that I should set backgroundImage within a css {} block, but BackgroundImage is also coming up as a sealed external interface.
Should these features be working as I expect, or are they still works in progress? Is it possible that my project configuration needs some tweaking? (The libraries do include Gradle: org.jetbrains.kotlin-wrappers:kotlin-csstype:klib:3.1.0-pre.3462.)Artem Kobzar
12/14/2023, 10:01 AMturansky
12/14/2023, 12:24 PMTransition we have 3 factories with same name.Jon Shemitz
12/14/2023, 5:03 PMimport I should add that would let IDEA auto-suggest these functions?turansky
12/14/2023, 8:52 PMturansky
12/15/2023, 2:57 PMasDynamic and unsafeCast aren't required.turansky
12/15/2023, 3:09 PMTransition - functions we same name name.
For CSS functions, like url - functions with same name.
For primitives and array like functions we provide: string, integer, number , array, manyturansky
12/15/2023, 3:16 PMAuto.auto
None.none
and more.
And it's parent types of interface, which you need.
For example you can use constants from PropertyName for TransitionProperty