Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileDecoration

A file decoration represents metadata that can be rendered with a file.

Hierarchy

  • FileDecoration

Index

Constructors(1)

Properties(4)

Constructors(1)

constructor

  • Creates a new decoration.

    Parameters

    • Optional badge: string

      A letter that represents the decoration.

    • Optional tooltip: string

      The tooltip of the decoration.

    • Optional color: ThemeColor

      The color of the decoration.

    Returns FileDecoration

Properties(4)

Optional badge

badge: string

A very short string that represents this decoration.

Optional tooltip

tooltip: string

A human-readable tooltip for this decoration.

Optional color

color: ThemeColor

The color of this decoration.

Optional propagate

propagate: boolean

A flag expressing that this decoration should be propagated to its parents.

Generated by TypeDoc. Maintained by 洛竹