1681-engine / ui / ListOptions
Interface: ListOptions ​
Defined in: src/ui/List.ts:6
Extends ​
Properties ​
barColor? ​
ts
optional barColor?: number | null;Defined in: src/ui/ScrollView.ts:14
The scroll bar's colour; null hides it (default white at 0.4 alpha).
Inherited from ​
barWidth? ​
ts
optional barWidth?: number;Defined in: src/ui/ScrollView.ts:15
Inherited from ​
dragSlop? ​
ts
optional dragSlop?: number;Defined in: src/ui/ScrollView.ts:12
How far a press must move before it is a drag instead of a tap (default 6 px).
Inherited from ​
gap? ​
ts
optional gap?: number;Defined in: src/ui/List.ts:8
Between rows (default 0).
height ​
ts
height: number;Defined in: src/ui/ScrollView.ts:8
Inherited from ​
padding? ​
ts
optional padding?: number;Defined in: src/ui/List.ts:10
Inside the list's edge (default 0).
stretch? ​
ts
optional stretch?: boolean;Defined in: src/ui/List.ts:12
Rows as wide as the list, less the padding (default true).
wheelStep? ​
ts
optional wheelStep?: number;Defined in: src/ui/ScrollView.ts:10
Pixels a wheel notch scrolls at most (default 48).
Inherited from ​
width ​
ts
width: number;Defined in: src/ui/ScrollView.ts:7