Stay organized with collections Save and categorize content based on your preferences.

blockly > Events > Click

Events.Click class

Class for a click event.

Signature:

export declare class Click extends UiBase 

Extends: UiBase

Constructors

Constructor Modifiers Description
(constructor)(opt_block, opt_workspaceId, opt_targetType) Constructs a new instance of the Click class

Properties

Property Modifiers Type Description
blockId? string (Optional)
targetType? ClickTarget (Optional)
type string

Methods

Method Modifiers Description
fromJson(json) Decode the JSON event.
toJson() Encode the event as JSON.