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