name | allowed | type | default |
---|---|---|---|
position | topLeft | topRight | topCenter | centerLeft | centerCenter | centerRight | bottomLeft | bottomCenter | bottomRight | string | topLeft |
close | any html string | string |
constructor( private mgService : MaterialgrammiService ) {} this.mgService.addNotification( "topLeft", "Simple Message", { size: "m", timer: 1000 }, class: "blueGrey8 text-grey2 radius-5 pad-10 marginT-10 outline-grey7 shadow-1" );