Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

  • new ClassFile(element: HTMLElement): ClassFile

Properties

created

created: Date = new Date()

Protected element

element: HTMLElement

extra

extra: object

Type declaration

lastModified

lastModified: Date = new Date()

Accessors

directory

directory:

icon

icon:

id

id:

mimeType

mimeType:

name

name:

size

size:

url

url:

Methods

addOnChangeListener

  • addOnChangeListener(listener: function): void

copy

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

delete

  • delete(): Promise<void>

dispatchChangeEvent

  • dispatchChangeEvent(): void

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>

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