Skip to main content

IWidgetStatus

Defined in: js-api/src/u2core/protocol.ts:159

Runtime snapshot of a widget's structure, read by the automated testing system.

Properties​

PropertyTypeDescriptionDefined in
descriptionstring | null-js-api/src/u2core/protocol.ts:167
errorstring | null-js-api/src/u2core/protocol.ts:168
eventsIEventType[]-js-api/src/u2core/protocol.ts:166
hitAreasobject-js-api/src/u2core/protocol.ts:161
inputs?IInputStatus[]-js-api/src/u2core/protocol.ts:169
partsobject-js-api/src/u2core/protocol.ts:160
shortcutsobject-js-api/src/u2core/protocol.ts:165
state?IControlStateFilled by every u2 Control and by DG.Widget (DOM-derived). Optional only because the Dart status object does not carry it; every JS read path fills it.js-api/src/u2core/protocol.ts:172
values?objectNamed readings of the widget's state a test compares before and after a change (a color scale's shown range).js-api/src/u2core/protocol.ts:164