Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ImageAsset

Hierarchy

Index

Constructors

constructor

Properties

_isViewBase

_isViewBase: boolean

android

android: any

ios

ios: any

nativeImage

nativeImage: any

options

Static propertyChangeEvent

propertyChangeEvent: string

Methods

_createPropertyChangeData

  • _createPropertyChangeData(propertyName: string, value: any, oldValue?: any): PropertyChangeData

_emit

  • _emit(eventNames: string): void

addEventListener

  • addEventListener(eventNames: string, callback: function, thisArg?: any): void

get

  • get(name: string): any

getImageAsync

  • getImageAsync(callback: function): any
  • Parameters

    • callback: function
        • (image: any, error: any): void
        • Parameters

          • image: any
          • error: any

          Returns void

    Returns any

hasListeners

  • hasListeners(eventName: string): boolean

notify

  • notify<T>(data: T): void

notifyPropertyChange

  • notifyPropertyChange(name: string, value: any, oldValue?: any): void

off

  • off(eventNames: string, callback?: any, thisArg?: any): void

on

  • on(eventNames: string, callback: function, thisArg?: any): void

once

  • once(event: string, callback: function, thisArg?: any): void

removeEventListener

  • removeEventListener(eventNames: string, callback?: any, thisArg?: any): void

set

  • set(name: string, value: any): void

setProperty

  • setProperty(name: string, value: any): void

Static addEventListener

  • addEventListener(eventName: string, callback: any, thisArg?: any): void

Static off

  • off(eventName: string, callback?: any, thisArg?: any): void

Static on

  • on(eventName: string, callback: any, thisArg?: any): void

Static once

  • once(eventName: string, callback: any, thisArg?: any): void

Static removeEventListener

  • removeEventListener(eventName: string, callback?: any, thisArg?: any): 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