Skip to content
scroll to zoom · drag to pan

getRoleLadder

function getRoleLadder(role): readonly (
| 96
| 128
| 160
| 180
| 240
| 256
| 320
| 400
| 480
| 600
| 640
| 800
| 960
| 1080
| 1200
| 1280
| 1440
| 1600
| 1920
| 2560
| 3840)[];

Defined in: packages/asset-client/dist/index.d.ts:808

The rungs for a role.

Parameter Type
role | "avatar" | "thumbnail" | "tile" | "rail" | "card" | "office" | "gallery" | "dialog" | "fullscreen" | "hero"

readonly ( | 96 | 128 | 160 | 180 | 240 | 256 | 320 | 400 | 480 | 600 | 640 | 800 | 960 | 1080 | 1200 | 1280 | 1440 | 1600 | 1920 | 2560 | 3840)[]