Authoring/Widgets

Everything relating to a widget being created/edited.

Methods

type() → {string|null}

The type of widget currently being edited. Returns null if not on the widget edit screen.

Since
2.4.0
Returns: 
string | null