Action.OpenWindow
ActionAPI 2Opens target, a component element, in a window; see WindowOptions.
| Signature | Action.OpenWindow: FunctionComponent<WindowOptions & { target: VNode }> |
|---|
| Take it from | const { Action } = Bundleware; |
|---|
Props
| Prop | Type | Description |
|---|
title | string | 1–160 characters. |
icon | IconRef | Optional. The glyph on the header's ink tile; defaults to the icon of the part that opened it, then the toolbar's. |
ink | Ink | Optional. The header tile's ink; defaults to the ink of the part that opened it, then the toolbar's. |
badge | Badge | Optional. A badge at the right of the header, such as { text: 'Public domain', ink: 'steel' }. Gold unless it names an ink. |
strip | Ink | Optional. The 8px strip at the top in this ink's Fill, instead of lavender. |
width | number | Optional. 320–720 px. Without it, the window takes its content's width, from 320 to 720 px. |
target | VNode | |
Availability
| Applicable versions | API 2 and higher |
|---|
| Bundleware | 0.3.0, build 2026.10.30 |
|---|