UIFlexibleSpaceElement
Examples
{
type: "Panel",
body: [
{ type: "Paragraph", text: "Paragraph 1" },
{ type: "FlexibleSpace" },
{ type: "Paragraph", text: "Paragraph 2" },
],
}{
type: "Grid",
grid: "auto-flow / auto 1fr auto",
items: [
{ type: "Button", label: "Button 1", onClick: () => {} },
{ type: "FlexibleSpace" },
{ type: "Button", label: "Button 2", onClick: () => {} },
],
}Properties
type
id
onCreate()?
Parameters
Parameter
Type
Description
Returns
onDestroy()?
Parameters
Parameter
Type
Description
Returns
Last updated
Was this helpful?