@serenity-is/corelib / PrefixedContext
Class: PrefixedContext
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new PrefixedContext(idPrefix): PrefixedContext
Parameters
| Name | Type |
|---|---|
idPrefix |
string |
Returns
Defined in
src/ui/widgets/prefixedcontext.ts:5
Properties
idPrefix
• Readonly idPrefix: string
Defined in
src/ui/widgets/prefixedcontext.ts:5
Methods
byId
▸ byId(id): Fluent<HTMLElement>
Parameters
| Name | Type |
|---|---|
id |
string |
Returns
Fluent<HTMLElement>
Defined in
src/ui/widgets/prefixedcontext.ts:8
w
▸ w<TWidget>(id, type): TWidget
Type parameters
| Name |
|---|
TWidget |
Parameters
| Name | Type |
|---|---|
id |
string |
type |
(...args: any[]) => TWidget |
Returns
TWidget