ReadonlybodyBody element where callers can append child widgets that survive collapse.
ReadonlyheaderHeader element that receives keyboard and mouse toggle interaction.
ReadonlyelementUnderlying Blessed element available for standard element operations.
Returns the current controlled or uncontrolled expanded state.
Gives terminal focus to an enabled header.
Sets an enabled expanded state and reports whether setting occurred.
Toggles an enabled body region and reports whether toggling occurred.
Destroys and detaches the owned element without destroying its parent.
Re-renders component content using complete replacement data.
The element identity is preserved. Call screen.render() explicitly when
one or more updates should become visible.
Imperative handle returned by collapsible.