Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileLoader

Hierarchy

  • FileLoader

Index

Constructors

constructor

  • new FileLoader(Root: HTMLElement, multiple?: boolean, Id?: string, Class?: string, Style?: string): FileLoader
  • Parameters

    • Root: HTMLElement
    • Optional multiple: boolean
    • Optional Id: string
    • Optional Class: string
    • Optional Style: string

    Returns FileLoader

Properties

Private Optional Class

Class: string

Private Optional Id

Id: string

Private Root

Root: HTMLElement

Private Optional Style

Style: string

Private changed

changed: Subject<any> = new Subject<any>()

changed$

changed$: Observable<any> = this.changed.asObservable()

Private clicked

clicked: Subject<any> = new Subject<any>()

clicked$

clicked$: Observable<any> = this.clicked.asObservable()

Private files

files: any = null

Private http

http: Http = null

Private Optional multiple

multiple: boolean

Private node

node: HTMLInputElement

Methods

create

  • create(): void

send

  • send(url: string, inputName: string): Promise<any>
  • Parameters

    • url: string
    • inputName: string

    Returns Promise<any>

Generated using TypeDoc