Skip to content

Pomeranian development reference / lib-essential/src/text-area / TextArea / constructor

Constructor: constructor() ​

Constructor ​

new TextArea<Root>(context, target?, asRoot?): TextArea<Root>

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

Technically public for capabilities; construct through named create/rootFixture. Inherit the constructor; defaults are captured after subclass fields complete.

Parameters ​

context ​

Page | PageObject<Root>

target? ​

Target

asRoot? ​

boolean

Returns ​

TextArea<Root>

Remarks ​

Changed in @pomeranian/core@Unreleased: public constructor authoring enables generic capability factories; supported construction still uses named factories.

Since ​

Available since @pomeranian/core@Unreleased

Inherited from ​

Element.with( EditableText, )<Root>.constructor

Context ​

Owner: TextArea.

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.