Marker
Eine Statuszeile in einem Thread wie „Denke nach…“ oder „4 Notizen durchsucht“.
Verfügbar für
Angular: verfügbar Vue: verfügbar React: verfügbar React Native: noch nicht verfügbar
Verwendung
Thinking…
Searched 4 meeting notes
Conversation compacted
Earlier today
<div class="demo-stack" style="max-width: 480px; width: 100%">
<div soneMarker>
<span soneMarkerIcon><sone-spinner [size]="16" [label]="null" /></span>
<span soneMarkerContent class="shimmer">Thinking…</span>
</div>
<div soneMarker>
<span soneMarkerIcon aria-hidden="true">✓</span>
<span soneMarkerContent>Searched 4 meeting notes</span>
</div>
<div soneMarker variant="separator">
<span soneMarkerContent>Conversation compacted</span>
</div>
<div soneMarker variant="border">
<span soneMarkerContent>Earlier today</span>
</div>
</div>Import
import {
SoneMarkerContentDirective,
SoneMarkerDirective,
SoneMarkerIconDirective,
} from "@surface-one/angular/marker";API-Referenz
SoneMarkerContentDirectiveDirektive
SoneMarkerDirectiveDirektive
| Name | Typ | Standard |
|---|---|---|
variant | MarkerVariant | "default" |