pixi-wheels

PointerConfig

pixi-wheels


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#

PropertyTypeDescriptionDefined in
angle?numberScreen 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 | FlapConfigFlap physics against the ring’s pegs, or false to keep the pointer rigid.config/types.ts:434
id?stringUnique id within the ring. Default 'pointer' for the first one.config/types.ts:426
tipInset?numberHow far the tip reaches past the rim into the sections (or past the hub). Default 18.config/types.ts:432