Bubble
O balão de fala de uma mensagem, nas variantes default, secondary, muted e ghost.
Disponível em
Angular: disponível Vue: disponível React: disponível React Native: ainda não disponível
Uso
default — the agenda is in the shared doc.
secondary — the agenda is in the shared doc.
muted — the agenda is in the shared doc.
tinted — the agenda is in the shared doc.
outline — the agenda is in the shared doc.
ghost — the agenda is in the shared doc.
destructive — the agenda is in the shared doc.
Aligned to the end, for the current user.
<div class="demo-stack" style="max-width: 480px; width: 100%">
<div soneBubbleGroup>
@for (variant of variants; track variant) {
<div soneBubble [variant]="variant">
<div soneBubbleContent>{{ variant }} — the agenda is in the shared doc.</div>
</div>
}
</div>
<div soneBubble align="end">
<div soneBubbleContent>Aligned to the end, for the current user.</div>
</div>
</div>Importação
import {
SoneBubbleContentDirective,
SoneBubbleDirective,
SoneBubbleGroupDirective,
} from "@surface-one/angular/bubble";Referência da API
SoneBubbleContentDirectiveDiretiva
SoneBubbleDirectiveDiretiva
| Nome | Tipo | Padrão |
|---|---|---|
variant | BubbleVariant | "default" |
align | BubbleAlign | "start" |