interface GUIData name string; attributes name string string number; ; children GUIData;interface GUIBindT extends string event string; selector string; action T;interf
The code defines several interfaces and types related to GUI data and bindings.
-
The
GUIDatainterface defines the structure of GUI data, which includes a name, optional attributes, and optional children. -
The
GUIBindinterface defines the structure of a GUI binding, which includes an event, optional selector, and action. -
The
GUIBindDefinitioninterface defines the structure of a set of GUI bindings, which includes definitions for drag, show, remove, sendMessage, and clipboardWrite actions. -
The
GUIBindTypeMaptype maps the GUI binding actions to their corresponding types. -
The
GUIBindTypestype is a union of all possible GUI binding types. -
The
GUIConfigIteminterface defines the structure of a GUI configuration item, which includes optional display boolean, optional bindings, and required data. -
The
GUIConfigtype is a mapping of GUI configuration names to their corresponding configuration items.
Overall, the code provides a structure for defining GUI data and their associated bindings in a configuration object
原文地址: https://www.cveoy.top/t/topic/hzxz 著作权归作者所有。请勿转载和采集!