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

Interface: IActivityBarItem

molecule.model.IActivityBarItem

Hierarchy

  • HTMLElementProps

    IActivityBarItem

Properties

checked

Optional checked: boolean

Defined in

src/model/workbench/activityBar.ts:23


className

Optional className: string

Inherited from

HTMLElementProps.className

Defined in

src/common/types.ts:4


contextMenu

Optional contextMenu: IActivityMenuItemProps[]

Defined in

src/model/workbench/activityBar.ts:26


data

Optional data: any

Defined in

src/model/workbench/activityBar.ts:21


disabled

Optional disabled: boolean

Defined in

src/model/workbench/activityBar.ts:24


hidden

Optional hidden: boolean

Defined in

src/model/workbench/activityBar.ts:20


icon

Optional icon: string | Element

Defined in

src/model/workbench/activityBar.ts:22


id

id: UniqueId

Defined in

src/model/workbench/activityBar.ts:18


name

Optional name: ReactNode

Defined in

src/model/workbench/activityBar.ts:19


role

Optional role: string

Inherited from

HTMLElementProps.role

Defined in

src/common/types.ts:5


sortIndex

Optional sortIndex: number

Defined in

src/model/workbench/activityBar.ts:27


style

Optional style: CSSProperties

Inherited from

HTMLElementProps.style

Defined in

src/common/types.ts:3


title

Optional title: string

Inherited from

HTMLElementProps.title

Defined in

src/common/types.ts:2


type

Optional type: "normal" | "global"

Defined in

src/model/workbench/activityBar.ts:25

Methods

render

Optional render(): Element | ReactNode

Returns

Element | ReactNode

Defined in

src/model/workbench/activityBar.ts:28