The canvas click event

On Click Event

key option type example notes
enable boolean true / false
mode string
"emitter" and "absorber" are not used by slim bundle
interface IClickEvent {
    enable: boolean;
    mode: SingleOrMultiple<string>;

Implemented by



enable: boolean

This property enables or disables the click event

mode: SingleOrMultiple<string>

This property contains a click mode value or an array of those values. If this value is an array, every mode will be used on click.