-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSSOM. Unable to set gridRow
and gridColumn
properties
#2391
Comments
Which API do you expect in described cases? |
I think the generic case should be supported at least. |
Examples of calls will be very helpful |
I wrote them in the first message. gridRow = multiple(integer(1), integer(3))
gridRow = multiple(auto, array(span, integer(2)))
gridColumn = multiple(auto, array(span, integer(2))) where fun <T : Any> multiple(
vararg values: T,
): T =
values.joinToString(" / ")
.unsafeCast<T>() |
|
Ok, then can it be done via corresponding factories for |
Which API do you expect in described cases? |
GridRow(GridRowStart, GridRowEnd)
GridColumn(GridColumnStart, GridColumnEnd) |
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 noGridRow
/GridColumn
factories (even no something likearray
/many
factories but with "/" as a separator).Is there any way to do it without casting?
The text was updated successfully, but these errors were encountered: