Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • mxImageBundle

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

alt

alt: boolean

Variable: alt

Specifies if the fallback representation should be returned.

images

images: {}

Variable: images

Maps from keys to images.

Type declaration

  • [key: string]: { fallback: Function; value: string }
    • fallback: Function
    • value: string

Methods

getImage

  • getImage(key: string): string
  • Function: getImage

    Returns the value for the given key. This returns the value or fallback, depending on . The fallback is returned if is true, the value is returned otherwise.

    Parameters

    • key: string

    Returns string

putImage

  • putImage(key: string, value: string, fallback: Function): void
  • Function: putImage

    Adds the specified entry to the map. The entry is an object with a value and fallback property as specified in the arguments.

    Parameters

    • key: string
    • value: string
    • fallback: Function

    Returns void

Generated using TypeDoc