Skip to main content
Version: Next

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

NameTypeDefault value
idUniqueId''
namestring''
dataINotificationItem<T>[][]
sortIndexnumber1
showNotificationsbooleanfalse
actionBarIActionBarItemProps<any>[][]
render() => ReactNodeundefined

Defined in

model/notification.tsx:33

Properties

actionBar

actionBar: IActionBarItemProps<any>[]

Implementation of

INotification.actionBar

Defined in

model/notification.tsx:31


data

data: INotificationItem<T>[]

Implementation of

INotification.data

Defined in

model/notification.tsx:27


id

id: UniqueId

Implementation of

INotification.id

Defined in

model/notification.tsx:25


name

name: string

Implementation of

INotification.name

Defined in

model/notification.tsx:26


render

render: () => ReactNode

Type declaration

▸ (): ReactNode

Returns

ReactNode

Implementation of

INotification.render

Defined in

model/notification.tsx:29


showNotifications

showNotifications: boolean

Implementation of

INotification.showNotifications

Defined in

model/notification.tsx:30


sortIndex

sortIndex: number

Implementation of

INotification.sortIndex

Defined in

model/notification.tsx:28