width
Adds a width MediaQuery.WidthFeature: pass min for min-width (>=) or max for max-width (<=). Exactly one must be given, and it must use Length.Unit.Px.
Throws
IllegalStateException
if the supplied length is not in px.
fun width(value: Number, operator: <Error class: unknown class>, unit: <Error class: unknown class> = MediaQuery.WidthFeature.Unit.Px)
Adds a width MediaQuery.WidthFeature with an explicit operator (e.g. >, <=).
Parameters
value
the comparison width.
unit
the length unit; defaults to MediaQuery.WidthFeature.Unit.Px.