Toaster

Notificações toast empilhadas com ações e fechamento — o app controla a fila.

Disponível em
  • Angular: disponível
  • Vue: disponível
  • React: disponível
  • React Native: disponível

Uso

Importação

ts
import {
  SoneToasterComponent,
} from "@surface-one/angular/toaster";

Referência da API

SoneToasterComponentComponente

Seletor
sone-toaster
Inputs
NomeTipo Padrão
toastsobrigatórioreadonly SoneToast[]—
Outputs
NomeTipo
dismissnumber
actionnumber
secondaryActionnumber