跳到主要内容
版本:0.9.0-beta.2

Interface: INotification<T>

molecule.model.INotification

Type parameters

NameType
Tany

Hierarchy

Implemented by

Properties

actionBar

Optional actionBar: IActionBarItemProps<any>[]

Defined in

src/model/notification.tsx:21


className

Optional className: string

Inherited from

IStatusBarItem.className

Defined in

src/common/types.ts:4


data

Optional data: INotificationItem<T>[]

Inherited from

IStatusBarItem.data

Defined in

src/model/workbench/statusBar.tsx:13


id

id: UniqueId

Inherited from

IStatusBarItem.id

Defined in

src/model/workbench/statusBar.tsx:11


name

Optional name: string

Inherited from

IStatusBarItem.name

Defined in

src/model/workbench/statusBar.tsx:16


role

Optional role: string

Inherited from

IStatusBarItem.role

Defined in

src/common/types.ts:5


showNotifications

Optional showNotifications: boolean

Defined in

src/model/notification.tsx:20


sortIndex

Optional sortIndex: number

Inherited from

IStatusBarItem.sortIndex

Defined in

src/model/workbench/statusBar.tsx:12


style

Optional style: CSSProperties

Inherited from

IStatusBarItem.style

Defined in

src/common/types.ts:3


title

Optional title: string

Inherited from

IStatusBarItem.title

Defined in

src/common/types.ts:2

Methods

onClick

Optional onClick(e, item?): any

Parameters

NameType
eMouseEvent<Element, MouseEvent>
item?IStatusBarItem<any>

Returns

any

Inherited from

IStatusBarItem.onClick

Defined in

src/model/workbench/statusBar.tsx:14


render

Optional render(item): ReactNode

Parameters

NameType
itemIStatusBarItem<any>

Returns

ReactNode

Inherited from

IStatusBarItem.render

Defined in

src/model/workbench/statusBar.tsx:15