Notification

A notification informs users about changes or updates, or communicates a status.

API

import { BwcNotificationModule } from '@aviato/components/notification';

Directives

BwcNotificationComponent

selector:bwc-notification

Properties

Name

Description

componentClass

 

closeNotification

 

@Input()

ariaLive

'assertive' | 'off' | 'polite'

ARIA live regions - to provide a way to programmatically expose dynamic content changes in a way that can be announced by assistive technologies.

@Input()

showCloseButton

boolean

Optional. Displays the Close button. Default value is false.

@Input()

notificationTypeIcon

string

Optional parameter. The icon to represent the notification type. If not provided, default icon of that particular type will be displayed.

@Input()

type

'success'|'warning'|'error'|'info'

Type of Notification.

isSuccess

 

isWarning

 

isError

 

isInfo

 

bwcNotificationExpandableContentComponent

 

@Input()

isExpanded

 

icon

 

Methods

clickCloseButton

toggleExpandableContent

 

BwcNotificationExpandableContentComponent

selector:bwc-notification-expandable-content

Properties

Name

Description

componentClass

 

ariaHidden

 

isExpanded

 

isExpandedState

 

Methods

animationDone

 


Examples

Storybook failed to load. Please connect to the VPN to access.

Basic

Storybook failed to load. Please connect to the VPN to access.

Link

Storybook failed to load. Please connect to the VPN to access.

Large

Storybook failed to load. Please connect to the VPN to access.

Extended