跳到主要内容
版本:Next

Interface: IToolbarProps<T>

molecule.component.IToolbarProps

Type parameters

NameType
Tany

Hierarchy

Properties

className

Optional className: string

Inherited from

IActionBarProps.className

Defined in

common/types.ts:4


data

data: IActionBarItemProps<any>[]

Inherited from

IActionBarProps.data

Defined in

components/actionBar/index.tsx:36


role

Optional role: string

Inherited from

IActionBarProps.role

Defined in

common/types.ts:5


style

Optional style: CSSProperties

Inherited from

IActionBarProps.style

Defined in

common/types.ts:3


title

Optional title: string

Inherited from

IActionBarProps.title

Defined in

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

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

components/actionBar/index.tsx:37