interface CreateButtonOptions {
    allowsMousedownThrough?: boolean;
    coordinates?: CreateButtonOptionsCoordinates;
    height: number;
    onClick?: (() => void);
    onMouseDown?: (() => void);
    onRelease?: (() => void);
    width: number;
}

Properties

allowsMousedownThrough?: boolean

Coordinates that can be used to precisely define where the Button should be on the screen

height: number
onClick?: (() => void)

Type declaration

    • (): void
    • Returns void

onMouseDown?: (() => void)

Type declaration

    • (): void
    • Returns void

onRelease?: (() => void)

Type declaration

    • (): void
    • Returns void

width: number