Skip to content

Decoration

The marks that a plugin adds to a row. Every mark is optional, and a decoration can contain at most one of each kind. The app draws them with its standard components.

It is the value that the function given to ctx.ui.decorate returns.

readonly badge?: string;

A short text that the app draws as a badge.


readonly icon?: string;

The name of an icon that the app draws at the start of the row.


readonly pill?: string;

A short text that the app draws as a pill.


readonly trailing?: string;

A text that the app draws at the end of the line.