Skip to content

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

Method: create() ​

static create<C>(this, context, ...__namedParameters): Result<C>

Defined in: packages/core/dist/page-object.d.ts:49

Construct a fresh concrete instance with ordinary field initialization.

Type Parameters ​

C ​

C extends Class

Parameters ​

this ​

C

context ​

Context<Result<C>["root"]>

__namedParameters ​

...TargetArguments<Result<C>>

Returns ​

Result<C>

Since ​

Available since @pomeranian/core@Unreleased

Inherited from ​

Element.with( EditableValue, ).create

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.