Interface Blob

Hierarchy

Index

Properties

Methods

Properties

public bubbleParent: boolean

public file: File

public height: number

public length: number

public mimeType: string

public nativePath: string

public size: number

public text: string

public width: number

Methods

public addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public append(blob: Blob)

Parameters

public applyProperties(props: Dictionary)

Parameters

public fireEvent(name: string, event: Dictionary)

Parameters

public getBubbleParent(): boolean

Returns

boolean

public getFile(): File

Returns

File

public getHeight(): number

Returns

number

public getLength(): number

Returns

number

public getMimeType(): string

Returns

string

public getNativePath(): string

Returns

string

public getSize(): number

Returns

number

public getText(): string

Returns

string

public getWidth(): number

Returns

number

public imageAsCropped(options: Dictionary): Blob

Parameters

Returns

Blob

public imageAsResized(width: number, height: number): Blob

Parameters

  • width: number
  • height: number

Returns

Blob

public imageAsThumbnail(size: number, borderSize?: number, cornerRadius?: number): Blob

Parameters

  • size: number
  • borderSize?: number optional
  • cornerRadius?: number optional

Returns

Blob

public imageWithAlpha(): Blob

Returns

Blob

public imageWithRoundedCorner(cornerSize: number, borderSize?: number): Blob

Parameters

  • cornerSize: number
  • borderSize?: number optional

Returns

Blob

public imageWithTransparentBorder(size: number): Blob

Parameters

  • size: number

Returns

Blob

public removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public toString(): string

Returns

string