Skip to content

Type Alias: StyleLength ​

ts
type StyleLength = number | `${number}` | `${number}px` | `${number}%`;

Defined in: types/desktop-engine.d.ts:140

A length: a number (pt), a numeric string, "10px", or a percentage "50%"; treated as unset if it can't be parsed

The SDK is released under the Apache License 2.0