alert (function)

alert(alertText='', alertHeading='', extraPadding=False, alertLevel='warning')[source]

Generate a alert - TBS style

Key Arguments

  • alertText – the text to be displayed in the alert

  • extraPadding – for longer messages, increase the padding on the top and bottom of the alert wrapper

  • alertLevel – the level of the alert [ “warning” | “error” | “success” | “info” ]

Return

  • alert – the alert