windowBody
FunctionPrepares a window component and its author-supplied props. The window host supplies close().
| Signature | windowBody<P>(component: FunctionComponent<P>, ...args: {} extends Omit<NoInfer<P>, 'close'>
? [props?: Omit<NoInfer<P>, 'close'>] : [props: Omit<NoInfer<P>, 'close'>]): WindowTarget |
|---|
| Take it from | const { windowBody } = Bundleware; |
|---|
Parameters
| Parameter | Type | Description |
|---|
component | FunctionComponent<P> | |
...args | {} extends Omit<NoInfer<P>, 'close'>
? [props?: Omit<NoInfer<P>, 'close'>] : [props: Omit<NoInfer<P>, 'close'>] | |
Return Value
| Member | Type | Description |
|---|
__windowTarget | unique symbol | |
Availability
| Bundleware | 1.0.1, build 2026.12.02 |
|---|