Disclosure
Uma seção de revelação progressiva que segue o padrão Disclosure do WAI-ARIA.
Disponível em
Angular: disponível Vue: disponível React: disponível React Native: disponível
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>Importação
import {
SoneDisclosureComponent,
} from "@surface-one/angular/disclosure";Referência da API
SoneDisclosureComponentComponente
| Nome | Tipo | Padrão |
|---|---|---|
openbidirecional | boolean | false |
disabled | boolean | false |
panelLabel | string | null | null |