kotlin-wrappers icon indicating copy to clipboard operation
kotlin-wrappers copied to clipboard

CSSOM. Unable to set `gridRow` and `gridColumn` properties

Open aerialist7 opened this issue 6 months ago • 8 comments

Hello,

I'm trying to make the same as in the example of grid-row from MDN, but I can't do it without unsafeCast, because there are no GridRow/GridColumn factories (even no something like array/many factories but with "/" as a separator).

gridRow = "1 / 3".unsafeCast<GridRow>()
gridRow = "auto / span 2".unsafeCast<GridRow>()
gridColumn = "auto / span 2".unsafeCast<GridColumn>()

Is there any way to do it without casting?

aerialist7 avatar Aug 14 '24 08:08 aerialist7