Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected _lastModified

_lastModified: Date

Protected _name

_name: string

created

created: Date

extra

extra: object

Type declaration

icon

icon: null = null

intId

intId: number

Protected listenerMap

listenerMap: Map<function, function> = new Map()

Static id

id: string = "fsRoot"

Accessors

directory

directory:

id

id:

lastModified

lastModified:

mimeType

mimeType:

name

name:

size

size:

url

url:

Static mimeType

mimeType:

Methods

addDirectory

addFile

  • addFile(file: ArrayBuffer, name: string, mimeType: string): Promise<LocalStorageFile>

addOnChangeListener

  • addOnChangeListener(listener: function): void

copy

  • copy(targetDirectory: Directory): Promise<void>

delete

  • delete(): Promise<void>

dispatchChangeEvent

  • dispatchChangeEvent(): void

getChildren

  • getChildren(): Promise<File[]>

getFile

  • getFile(pathArray: string[]): Promise<File>

move

  • move(targetDirectory: Directory): Promise<void>

read

  • read(): Promise<ArrayBuffer>

readJSON

  • readJSON(): Promise<any>

readText

  • readText(): Promise<string>

removeOnChangeListener

  • removeOnChangeListener(listener: function): void

rename

  • rename(newName: string): Promise<void>

search

toString

  • toString(): string

write

  • write(data: ArrayBuffer): Promise<ArrayBuffer>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • 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