getRolesLadder
function getRolesLadder(roles): 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:813
The union of the rungs of several roles, ascending and without repeats: what to warm for an image tagged with those roles.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
roles |
readonly ( | "avatar" | "thumbnail" | "tile" | "rail" | "card" | "office" | "gallery" | "dialog" | "fullscreen" | "hero")[] |
Returns
Section titled “Returns”readonly (
| 96
| 128
| 160
| 180
| 240
| 256
| 320
| 400
| 480
| 600
| 640
| 800
| 960
| 1080
| 1200
| 1280
| 1440
| 1600
| 1920
| 2560
| 3840)[]