<Window />

ui/window.svelte

"Claiming they were not doors, made what they are today: windows."
Ch XX, 1320

Component Window examples :
Using slots
component Select demo using slots
Slotted window
some slotted content
showHandle true
some slotted content
showHandle false
open boolean
flow preset-flow
startPosition string
showHandle boolean
closeOnValidate boolean
hideAcceptButton boolean
hideCloseButton boolean
hideCancelButton boolean
code
<Window title="Slotted window" frameId="slotted" >
  <Icon slot="windowIcon" icon="bx:window-alt" />
  <div class="pad-4 align-center">
  some slotted content
  </div>
</Window>
Using props
component Select demo using props
open boolean
flow preset-flow
startPosition string
showHandle boolean
closeOnValidate boolean
hideAcceptButton boolean
hideCloseButton boolean
hideCancelButton boolean
code

<Button
	on:click={() => {
		openWindow("html", {
		componentProps: { some: "props", someother: "deprops" },
		contentHTML:
			'<div class="pad-4 align-center">some html content</div>',
		});
	}}>
	Window with html content
</Button>

<Button
	on:click={() => {
		openWindow("component", {
		component: Debug,
		componentProps: { some: "props", someother: "deprops" },
		});
	}}>
	Window with component
</Button>
Api preview :

missing