Disclosure
A progressive-disclosure section following the WAI-ARIA Disclosure pattern.
Available in
Angular: available Vue: available React: available React Native: available
Usage
Model size, language detection and the silence threshold live here.
Retention period and the audio budget.
Never shown while disabled.
<div class="demo-stack" style="max-width: 30rem">
<sone-disclosure [(open)]="advancedOpen" panelLabel="Advanced settings">
<span soneDisclosureSummary>Advanced settings</span>
<p style="margin: 0; color: var(--text-secondary)">
Model size, language detection and the silence threshold live here.
</p>
</sone-disclosure>
<sone-disclosure panelLabel="Storage">
<span soneDisclosureSummary>Storage</span>
<p style="margin: 0; color: var(--text-secondary)">Retention period and the audio budget.</p>
</sone-disclosure>
<sone-disclosure disabled panelLabel="Sync">
<span soneDisclosureSummary>Sync (unavailable offline)</span>
<p style="margin: 0">Never shown while disabled.</p>
</sone-disclosure>
</div>Import
import {
SoneDisclosureComponent,
} from "@surface-one/angular/disclosure";API reference
SoneDisclosureComponentComponent
| Name | Type | Default |
|---|---|---|
opentwo-way | boolean | false |
disabled | boolean | false |
panelLabel | string | null | null |