@serenity-is/corelib / CreateWidgetParams
Interface: CreateWidgetParams<TWidget, P>
Type parameters
Name | Type |
---|---|
TWidget |
extends Widget <P > |
P |
P |
Table of contents
Properties
Properties
container
• Optional
container: HTMLElement
| ArrayLike
<HTMLElement
>
Defined in
element
• Optional
element: (e
: Fluent
<HTMLElement
>) => void
Type declaration
▸ (e
): void
Parameters
Name | Type |
---|---|
e |
Fluent <HTMLElement > |
Returns
void
Defined in
init
• Optional
init: (w
: TWidget
) => void
Type declaration
▸ (w
): void
Parameters
Name | Type |
---|---|
w |
TWidget |
Returns
void
Defined in
options
• Optional
options: P
& { class?
: string
; element?
: string
| HTMLElement
| ArrayLike
<HTMLElement
> | (el
: HTMLElement
) => void
; id?
: string
}
Defined in
type
• Optional
type: Object
Call signature
• new type(options?
): TWidget
Parameters
Name | Type |
---|---|
options? |
P |
Returns
TWidget
Type declaration
Name | Type |
---|---|
prototype |
TWidget |