跳到主要内容
版本:1.x

Interface: IActionBarProps<T>

molecule.component.IActionBarProps

Type parameters

NameType
Tany

Hierarchy

Indexable

[key: string]: any

Properties

className

Optional className: string

Inherited from

HTMLElementProps.className

Defined in

common/types.ts:4


data

data: IActionBarItemProps<T>[]

Defined in

components/actionBar/index.tsx:36


role

Optional role: string

Inherited from

HTMLElementProps.role

Defined in

common/types.ts:5


style

Optional style: CSSProperties

Inherited from

HTMLElementProps.style

Defined in

common/types.ts:3


title

Optional title: string

Inherited from

HTMLElementProps.title

Defined in

common/types.ts:2

Methods

onClick

Optional onClick(event, item): void

Parameters

NameType
eventMouseEvent<Element, MouseEvent>
itemIActionBarItemProps<any>

Returns

void

Defined in

components/actionBar/index.tsx:41


onContextMenuClick

Optional onContextMenuClick(e, item): void

Parameters

NameType
eMouseEvent<Element, MouseEvent>
itemundefined | IMenuItemProps

Returns

void

Defined in

components/actionBar/index.tsx:37