UI component detection method and device, equipment and storage medium

The embodiment of the invention provides a UI component detection method and device, equipment and a storage medium, and relates to the technical field of software development. The UI component detection method comprises the steps that all mouse events are monitored on a global file object, and when...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: TANG YUNPING, SHEN QINYU, LIU ZHILIANG, LI HAIYE, XIA HAIBING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a UI component detection method and device, equipment and a storage medium, and relates to the technical field of software development. The UI component detection method comprises the steps that all mouse events are monitored on a global file object, and when any mouse event is monitored, a current element is acquired; querying an element with a component identification code from the current element and all ancestor elements of the current element to obtain a target element; and detecting all UI components in the low-code development platform according to the component identification code of the target element to obtain a target UI component. According to the embodiment of the invention, the technical effect of compatibly detecting various types of UI components in the low-code development platform can be realized. 本发明实施例提供一种UI组件探测方法、装置、设备及存储介质,涉及软件开发技术领域。所述UI组件探测方法包括:在全局文件对象上监听所有鼠标事件,当监听到任一所述鼠标事件时,获取当前元素;从所述当前元素和所述当前元素的所有祖先元素中查询出具有组件标识码的元素,得到目标元素;根据所述目标元素的组件标识码,探测低代码开