Skip to content

@serenity-is/corelib / EditorUtils / getDisplayText

Function: getDisplayText()

getDisplayText(editor): string

Defined in: src/ui/editors/editorutils.tsx:18

Returns the display text of an editor's current value.

Parameters

editor

Widget<any>

The editor widget.

Returns

string

The display text.