Disclosure
Una sección de revelación progresiva que sigue el patrón Disclosure de WAI-ARIA.
Disponible en
Angular: disponible Vue: disponible React: disponible React Native: disponible
Uso
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>Importación
import {
SoneDisclosureComponent,
} from "@surface-one/angular/disclosure";Referencia de la API
SoneDisclosureComponentComponente
| Nombre | Tipo | Predeterminado |
|---|---|---|
openbidireccional | boolean | false |
disabled | boolean | false |
panelLabel | string | null | null |