Skip to content

Files

Latest commit

b149a88 · Jan 18, 2022

History

History
76 lines (41 loc) · 1.82 KB

kui_shell_core.BadgeSpec.md

File metadata and controls

76 lines (41 loc) · 1.82 KB

Kui API Documentation - v11.0.0 / @kui-shell/core / BadgeSpec

Interface: BadgeSpec

@kui-shell/core.BadgeSpec

This is the most complete form of a badge specification, allowing the caller to provide a title, an onclick handler, and an optional fontawesome icon representation.

Table of contents

Properties

Methods

Properties

css

Optional css: string

Defined in

packages/core/src/webapp/views/registrar/badges.ts:31


fontawesome

Optional fontawesome: string

Defined in

packages/core/src/webapp/views/registrar/badges.ts:29


image

Optional image: HTMLImageElement | SVGElement

Defined in

packages/core/src/webapp/views/registrar/badges.ts:30


title

title: string

Defined in

packages/core/src/webapp/views/registrar/badges.ts:28

Methods

onclick

Optional onclick(): void

Returns

void

Defined in

packages/core/src/webapp/views/registrar/badges.ts:32