Class: NotificationModel<T>
molecule.model.NotificationModel
Type parameters
| Name |
|---|
T |
Implements
Constructors
constructor
• new NotificationModel<T>(id?, name?, data?, sortIndex?, showNotifications?, actionBar?, render)
Type parameters
| Name |
|---|
T |
Parameters
| Name | Type | Default value |
|---|---|---|
id | UniqueId | '' |
name | string | '' |
data | INotificationItem<T>[] | [] |
sortIndex | number | 1 |
showNotifications | boolean | false |
actionBar | IActionBarItemProps<any>[] | [] |
render | () => ReactNode | undefined |
Defined in
Properties
actionBar
• actionBar: IActionBarItemProps<any>[]
Implementation of
Defined in
data
• data: INotificationItem<T>[]
Implementation of
Defined in
id
• id: UniqueId
Implementation of
Defined in
name
• name: string
Implementation of
Defined in
render
• render: () => ReactNode
Type declaration
▸ (): ReactNode
Returns
ReactNode
Implementation of
Defined in
showNotifications
• showNotifications: boolean
Implementation of
INotification.showNotifications
Defined in
sortIndex
• sortIndex: number