Skip to content

Documentation / @debuffjp/ui / InputLike

Interface: InputLike<A> ​

Defined in: draw-like.ts:23

The part of @debuffjp/input's Input that Menu reads.

Type Parameters ​

A ​

A extends string = string

Properties ​

pointer? ​

optional pointer?: object

Defined in: draw-like.ts:26

When present, tapping or clicking a row selects it.

pressed ​

pressed: boolean

x ​

x: number

y ​

y: number

Methods ​

pressed() ​

pressed(action): boolean

Defined in: draw-like.ts:24

Parameters ​

action ​

A

Returns ​

boolean