Skip to content

Pomeranian development reference / lib-essential/src/content-editable / ContentEditable / clear

Method: clear() ​

clear(...args): Promise<void>

Defined in: packages/lib-essential/src/editable-value.ts:12

Complete native clear action, retaining applicability, options, waiting and errors.

Parameters ​

args ​

...[options?: object]

Returns ​

Promise<void>

Since ​

Available since @pomeranian/lib-essential@Unreleased

Inherited from ​

Element.with( EditableValue, ).clear

Context ​

Owner: ContentEditable.

Owner type parameters ​

Root ​

Root extends UnboundRoot = UnboundRoot

Unreleased @pomeranian/lib-essential API: @pomeranian/lib-essential implementation from main; no npm release is implied.

Unreleased development documentation from main. APIs and prototypes are labelled separately.