PointerConfig
pixi-wheels / index / PointerConfig
Interface: PointerConfig
Defined in: config/types.ts:424
A pointer (“tongue”, “flapper”, “stopper”): the fixed mark the wheel is read against. A ring may have several, at different angles.
Extended by#
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
angle? | number | Screen angle in degrees. -90 is twelve o’clock (the default), 0 is three o’clock. | config/types.ts:428 |
facing? | PointerFacing | 'inward' (default) sits on the rim with the tip pointing at the hub; 'outward' sits at the hub pointing out. | config/types.ts:430 |
flap? | false | FlapConfig | Flap physics against the ring’s pegs, or false to keep the pointer rigid. | config/types.ts:434 |
id? | string | Unique id within the ring. Default 'pointer' for the first one. | config/types.ts:426 |
tipInset? | number | How far the tip reaches past the rim into the sections (or past the hub). Default 18. | config/types.ts:432 |