Banner alert

Banners which inform users about important things

Contents

An optional alert heading

This is error type of alert. Although the maximum number of lines is 2, the text cannot be truncated, but with a good copywriter everything can fit in 2 lines.

An optional alert heading

This is info type of alert. Although the maximum number of lines is 2, the text cannot be truncated, but with a good copywriter everything can fit in 2 lines.

An optional alert heading

This is success type of alert. Although the maximum number of lines is 2, the text cannot be truncated, but with a good copywriter everything can fit in 2 lines.

An optional alert heading

This is warning type of alert. Although the maximum number of lines is 2, the text cannot be truncated, but with a good copywriter everything can fit in 2 lines.

An optional alert heading

This is critical type of alert. Although the maximum number of lines is 2, the text cannot be truncated, but with a good copywriter everything can fit in 2 lines.

An optional alert heading

This is error type of alert. Although the maximum number of lines is 2, the text cannot be truncated, but with a good copywriter everything can fit in 2 lines.

An optional alert heading

This is info type of alert. Although the maximum number of lines is 2, the text cannot be truncated, but with a good copywriter everything can fit in 2 lines.

An optional alert heading

This is success type of alert. Although the maximum number of lines is 2, the text cannot be truncated, but with a good copywriter everything can fit in 2 lines.

An optional alert heading

This is warning type of alert. Although the maximum number of lines is 2, the text cannot be truncated, but with a good copywriter everything can fit in 2 lines.

An optional alert heading

This is critical type of alert. Although the maximum number of lines is 2, the text cannot be truncated, but with a good copywriter everything can fit in 2 lines.
Inputs in Compact
compact ?: boolean = false
Also set in this example
bannerTitle ?: string
closeable ?: boolean = true
type ?: BannerAlertType = BannerAlertType.INFO
Outputs
buttonClicked ?: any = new EventEmitter<void>()
close ?: any = new EventEmitter<void>()