Preskoči na vsebino

Komponente

Ponudnik obvestil

Prikazuje začasna obvestila v kotu zaslona.

Uporaba

Osnovno

Your changes have been saved.
HTML
<bs:bsui-toast-provider position="bottom-right">
  <bs:bsui-toast message="Your changes have been saved." />
</bs:bsui-toast-provider>

Več obvestil

Ponudnik razporedi vsa obvestila, ki jih vsebuje, vsako pa je mogoče zapreti posebej.

Build 4821 finished in 42 seconds.
Two pages were prerendered.
Licence key saved.
HTML
<bs:bsui-toast-provider position="top-right">
  <bs:bsui-toast message="Build 4821 finished in 42 seconds." />
  <bs:bsui-toast message="Two pages were prerendered." />
  <bs:bsui-toast message="Licence key saved." />
</bs:bsui-toast-provider>

Zgradba

Ponudnik obvestil je sestavljen iz spodnjih blokov. Vsak je samostojen blok, ki se izriše samo znotraj nadrejenega bloka.

  • bsui/toast-provider
  • bsui/toast

Atributi

AtributTipPrivzeto
position top-right top-left bottom-right bottom-left bottom-right

bsui/toast

AtributTipPrivzeto
message richtext —