Class: NotificationModel\<T>
model.NotificationModel
Type parameters
Name |
---|
T |
Implements
INotification
\<T
>
Table of contents
Constructors
Properties
Constructors
constructor
• new NotificationModel\<T
>(id?
, name?
, data?
, sortIndex?
, showNotifications?
, actionBar?
, render
): NotificationModel
\<T
>
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 |
Returns
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