Interface: Frame
Everything about a layout's tiles shared between them.
Properties
anim?
ts
optional anim?: object;duration
ts
duration: number;easing
ts
easing: string;boxTransition?
ts
optional boxTransition?: string;left, top, width, height transitions, when animating.
fills
ts
fills: string[];Empty-tile color per cell.
layout
ts
layout: Layout;shadow?
ts
optional shadow?: object;blur
ts
blur: number;dx
ts
dx: number;dy
ts
dy: number;opacity
ts
opacity: number;slots
ts
slots: number[];Item index per cell, or -1.
tileTransition?
ts
optional tileTransition?: string;Methods
bevel()
ts
bevel(index): ReliefPath[] | undefined;Bevel paths for a cell (worked out on first use), or undefined without relief.
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
ReliefPath[] | undefined