"Claiming they were not doors, made what they are today: windows."
Ch XX, 1320
open | boolean | |
flow | preset-flow | |
startPosition | string | |
showHandle | boolean | |
closeOnValidate | boolean | |
hideAcceptButton | boolean | |
hideCloseButton | boolean | |
hideCancelButton | boolean |
<Window title="Slotted window" frameId="slotted" >
<Icon slot="windowIcon" icon="bx:window-alt" />
<div class="pad-4 align-center">
some slotted content
</div>
</Window>
open | boolean | |
flow | preset-flow | |
startPosition | string | |
showHandle | boolean | |
closeOnValidate | boolean | |
hideAcceptButton | boolean | |
hideCloseButton | boolean | |
hideCancelButton | boolean |
<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>
missing