RayCraftDocs
v1.0.3 raycraft.dev
On this page

Collapse

Free

Shows or hides its content. Bind Expanded to any button; KeepMounted keeps the content in the page while hidden.

Example

Collapse control

Parameters

ParameterTypeDescription
ChildContentRenderFragmentContent rendered inside the component.
ClassstringExtra CSS classes added to the root element.
ExpandedboolWhether the content is shown.
KeepMountedboolKeeps the content in the page while hidden.
StylestringInline style added to the root element.

Package

Collapse is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.