Skip to main content

Class: NotificationModel\<T>

model.NotificationModel

Type parameters

Name
T

Implements

Table of contents

Constructors

Properties

Constructors

constructor

new NotificationModel\<T>(id?, name?, data?, sortIndex?, showNotifications?, actionBar?, render): NotificationModel\<T>

Type parameters

Name
T

Parameters

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

Returns

NotificationModel\<T>

Defined in

src/model/notification.tsx:39

Properties

actionBar

actionBar: IActionBarItemProps\<any>[]

Implementation of

INotification.actionBar

Defined in

src/model/notification.tsx:37


data

data: INotificationItem\<T>[]

Implementation of

INotification.data

Defined in

src/model/notification.tsx:29


id

id: UniqueId

Implementation of

INotification.id

Defined in

src/model/notification.tsx:25


name

name: string

Implementation of

INotification.name

Defined in

src/model/notification.tsx:27


render

render: () => ReactNode

Type declaration

▸ (): ReactNode

Returns

ReactNode

Implementation of

INotification.render

Defined in

src/model/notification.tsx:33


showNotifications

showNotifications: boolean

Implementation of

INotification.showNotifications

Defined in

src/model/notification.tsx:35


sortIndex

sortIndex: number

Implementation of

INotification.sortIndex

Defined in

src/model/notification.tsx:31