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

Interface: IToolbarProps<T>

molecule.component.IToolbarProps

Type parameters

NameType
Tany

Hierarchy

Properties

className

Optional className: string

Inherited from

IActionBarProps.className

Defined in

src/common/types.ts:4


data

data: IActionBarItemProps<any>[]

Inherited from

IActionBarProps.data

Defined in

src/components/actionBar/index.tsx:36


role

Optional role: string

Inherited from

IActionBarProps.role

Defined in

src/common/types.ts:5


style

Optional style: CSSProperties

Inherited from

IActionBarProps.style

Defined in

src/common/types.ts:3


title

Optional title: string

Inherited from

IActionBarProps.title

Defined in

src/common/types.ts:2

Methods

onClick

Optional onClick(event, item): void

Parameters

NameType
eventMouseEvent<Element, MouseEvent>
itemIActionBarItemProps<any>

Returns

void

Inherited from

IActionBarProps.onClick

Defined in

src/components/actionBar/index.tsx:41


onContextMenuClick

Optional onContextMenuClick(e, item): void

Parameters

NameType
eMouseEvent<Element, MouseEvent>
itemundefined | IMenuItemProps

Returns

void

Inherited from

IActionBarProps.onContextMenuClick

Defined in

src/components/actionBar/index.tsx:37