Interface: BadgeSpec
January 18, 2022 · View on GitHub
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