aspen-decorations
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Decoration

Index

Constructors

constructor

Properties

cssClasslist

cssClasslist: Set<string>

Do not mutate directly, use Decoration#addCSSClass() / Decoration#removeCSSClass instead

Accessors

appliedTargets

appliedTargets:

disabled

disabled:

negatedTargets

negatedTargets:

Methods

addCSSClass

  • addCSSClass(classname: string): void

addTarget

  • addTarget(directory: Directory, flags: TargetMatchMode): void
  • addTarget(file: FileEntry): void

negateTarget

  • negateTarget(directory: Directory, flags: TargetMatchMode): void
  • negateTarget(file: FileEntry): void

onDidAddCSSClassname

  • onDidAddCSSClassname(callback: function): IDisposable
  • Parameters

    • callback: function
        • (decoration: Decoration, classname: string): void
        • Parameters

          Returns void

    Returns IDisposable

onDidAddTarget

  • onDidAddTarget(callback: function): IDisposable

onDidDisableDecoration

  • onDidDisableDecoration(callback: function): IDisposable

onDidEnableDecoration

  • onDidEnableDecoration(callback: function): IDisposable

onDidNegateTarget

  • onDidNegateTarget(callback: function): IDisposable

onDidRemoveCSSClassname

  • onDidRemoveCSSClassname(callback: function): IDisposable
  • Parameters

    • callback: function
        • (decoration: Decoration, classname: string): void
        • Parameters

          Returns void

    Returns IDisposable

onDidRemoveTarget

  • onDidRemoveTarget(callback: function): IDisposable
  • Parameters

    • callback: function
        • (decoration: Decoration, target: FileEntry | Directory): void
        • Parameters

          • decoration: Decoration
          • target: FileEntry | Directory

          Returns void

    Returns IDisposable

onDidUnNegateTarget

  • onDidUnNegateTarget(callback: function): IDisposable
  • Parameters

    • callback: function
        • (decoration: Decoration, target: FileEntry | Directory): void
        • Parameters

          • decoration: Decoration
          • target: FileEntry | Directory

          Returns void

    Returns IDisposable

removeCSSClass

  • removeCSSClass(classname: string): void

removeTarget

  • removeTarget(directory: Directory): void
  • removeTarget(file: FileEntry): void

unNegateTarget

  • unNegateTarget(directory: Directory): void
  • unNegateTarget(file: FileEntry): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc