Marker
Wiersz statusu w wątku, np. „Myślę…” lub „Przeszukano 4 notatki”.
Dostępny w
Angular: dostępny Vue: dostępny React: dostępny React Native: jeszcze niedostępny
Użycie
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";Dokumentacja API
SoneMarkerContentDirectiveDyrektywa
SoneMarkerDirectiveDyrektywa
| Nazwa | Typ | Domyślnie |
|---|---|---|
variant | MarkerVariant | "default" |