Example One

Launch an empty modal

BSDialog5.Create('abc123', 'My Modal Box 123', null, 'xl');

Example Two

Launch a modal with text

BSDialog5.Create('abc123', 'My Modal Box 123', 'Hello momo!', 'lg');

Example Three

Launch an empty modal then update its title, body, footer and size.

BSDialog5.ShowToast('abc123', 'My Modal Box 123', null, 'sm');
BSDialog5.UpdateTitle('abc123', 'My Modal Box 567');
BSDialog5.UpdateBody('abc123', 'Help, I\'m toast!');
BSDialog5.UpdateFooter('abc123', '');
BSDialog5.UpdateSize('abc123', 'lg');

Example Four

Launch a multiple modals

BSDialog5.ShowToast('abc123', 'My Modal Box 123', 'Help! I\'m toast.', 'sm');
BSDialog5.ShowToast('abc123456', 'My Modal Box 123.567', 'Help! I\'m a second toast.', 'md');