Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / TopbarSlot

Interface: TopbarSlot

Defined in: admin/src/plugin.ts:223

A status pill, indicator, or control rendered in the panel's top bar.

Properties

id

id: string

Defined in: admin/src/plugin.ts:224


ability

ability: string

Defined in: admin/src/plugin.ts:226

Ability required to render the slot.


sort?

optional sort?: number

Defined in: admin/src/plugin.ts:228

Lower renders further left.

Methods

render()

render(): HtmlNode | Promise<HtmlNode>

Defined in: admin/src/plugin.ts:229

Returns

HtmlNode | Promise<HtmlNode>