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

Interface: IActivityBarItem

molecule.model.IActivityBarItem

Hierarchy

  • HTMLElementProps

    IActivityBarItem

Properties

checked

Optional checked: boolean

Defined in

model/workbench/activityBar.ts:23


className

Optional className: string

Inherited from

HTMLElementProps.className

Defined in

common/types.ts:4


contextMenu

Optional contextMenu: IActivityMenuItemProps[]

Defined in

model/workbench/activityBar.ts:26


data

Optional data: any

Defined in

model/workbench/activityBar.ts:21


disabled

Optional disabled: boolean

Defined in

model/workbench/activityBar.ts:24


hidden

Optional hidden: boolean

Defined in

model/workbench/activityBar.ts:20


icon

Optional icon: string | Element

Defined in

model/workbench/activityBar.ts:22


id

id: UniqueId

Defined in

model/workbench/activityBar.ts:18


name

Optional name: ReactNode

Defined in

model/workbench/activityBar.ts:19


role

Optional role: string

Inherited from

HTMLElementProps.role

Defined in

common/types.ts:5


sortIndex

Optional sortIndex: number

Defined in

model/workbench/activityBar.ts:27


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


type

Optional type: "normal" | "global"

Defined in

model/workbench/activityBar.ts:25

Methods

render

Optional render(): Element | ReactNode

Returns

Element | ReactNode

Defined in

model/workbench/activityBar.ts:28