Collapsible

import {Collapsible} from "@qualcomm-ui/angular/collapsible"

Examples

Showcase

Basic collapsible component with a trigger button that expands and collapses content.

Controlled State

Control the collapsible's open/closed state using the open and openChanged properties.

Content

API

q-collapsible-root

PropTypeDefault
The initial open state of the collapsible when rendered. Use when you don't need to control the open state of the collapsible.
boolean
The document's text/writing direction.
'ltr' | 'rtl'
"ltr"
Whether the collapsible is disabled.
boolean
A root node to correctly resolve the Document in custom environments. i.e., Iframes, Electron.
() =>
| Node
| ShadowRoot
| Document
The controlled open state of the collapsible
boolean
Function called when the animation ends in the closed state
void
Function called when open changes.
boolean
Type
boolean
Description
The initial open state of the collapsible when rendered. Use when you don't need to control the open state of the collapsible.
Type
'ltr' | 'rtl'
Description
The document's text/writing direction.
Type
boolean
Description
Whether the collapsible is disabled.
Type
() =>
| Node
| ShadowRoot
| Document
Description
A root node to correctly resolve the Document in custom environments. i.e., Iframes, Electron.
Type
boolean
Description
The controlled open state of the collapsible
Type
void
Description
Function called when the animation ends in the closed state
Type
boolean
Description
Function called when open changes.

q-collapsible-trigger

q-collapsible-content