status()
status(
el):IWidgetStatus|null
Defined in: js-api/src/u2core/inspect.ts:37
Full status of the control owning el; its parts are elements, so use it inside the page only.
Parameters
| Parameter | Type |
|---|---|
el | Element | null |
Returns
IWidgetStatus | null
Example
const parts = DG.U2.status(el)?.parts;