aspen-tree-model
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TreeStateManager

Index

Constructors

constructor

Accessors

scrollOffset

scrollOffset:

Methods

beginStashing

  • beginStashing(): void

endStashing

  • endStashing(): void

excludeFromStash

  • excludeFromStash(file: FileEntry | Directory): void

loadTreeState

onChangeScrollOffset

  • onChangeScrollOffset(callback: function): IDisposable
  • Parameters

    • callback: function
        • (newOffset: number): void
        • Parameters

          • newOffset: number

          Returns void

    Returns IDisposable

onDidChangeDirExpansionState

  • onDidChangeDirExpansionState(callback: function): IDisposable
  • Parameters

    • callback: function
        • (relDirPath: string, nowExpanded: boolean, visibleAtSurface: boolean): void
        • Parameters

          • relDirPath: string
          • nowExpanded: boolean
          • visibleAtSurface: boolean

          Returns void

    Returns IDisposable

onDidChangeRelativePath

  • onDidChangeRelativePath(callback: function): IDisposable
  • Parameters

    • callback: function
        • (prevPath: string, newPath: string): void
        • Parameters

          • prevPath: string
          • newPath: string

          Returns void

    Returns IDisposable

onDidLoadState

  • onDidLoadState(callback: function): IDisposable

reverseStash

  • reverseStash(): Promise<void>

saveScrollOffset

  • saveScrollOffset(scrollOffset: number): 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