Example. Simple New Toast
Launch a simple toast with a text body.
BSToast4.Create({ Title: 'Hello', Time: 'Now', Message: '<div>Hello momo</div>' });
Example. Append Toast
Launch a simple toast or append to the last exist toast.
BSToast4.Push({ Title: 'Hello (2)', Time: 'Now', Message: '<div>Hello, again</div>' });
Example. Full Toast
Launch a toast with all options.
BSToast4.Create({ Icon: "", Title: "Greetings", Time: "Now", Message: "Toast Body", Footer: "Toast Footer", Animation: true, AutoHide: true, Delay: 6000, Position: "position:fixed; top:0; right:80px; margin:20px;", MinWidth: 320, MinHeight: 200, HeaderClass: "bg-light", FooterClass: "bg-light text-center" });