evCreate API 5.7 Help

Gadgets

The Gadgets subsection of the Object section of the evCreate API includes type aliases, interfaces, and functions to create and configure gadget items.

gadget namespace

The Gadgets subsection of the Object evCreate API section is accessed with the gadget namespace inside the object namespace:

evCreate.object.gadget.Function()

Type aliases

EvGadgetType

A type alias for a string that defines a gadget type.

Interfaces

EvGadgetConfigProperty

An interface that defines a configuration property of a gadget item.

Functions

Create(type: EvGadgetType, configProperties: EvGadgetConfigProperty[], bounds?: EvRect, zOrder?: EvObjectZOrder): Promise<EvItem>

A function to create a new gadget item.

GetConfigurationProperties(obj: EvItem): Promise<EvGadgetConfigProperty[]>

A function to get the configuration properties of a given gadget item.

GetType(obj: EvItem): Promise<EvGadgetType>

A function to get the gadget type of a given gadget item.

UpdateConfigurationProperties(obj: EvItem, configProperties: EvGadgetConfigProperty[]): Promise<void>

A function to add new and update existing configuration properties of a given gadget item.

04 April 2025