Back to Website
Show / Hide Table of Contents

Class ImageContainer

Package: @aurigma/design-atoms

Constructors

(constructor)(onLoadedDelegate)

Constructs a new instance of the ImageContainer class

Declaration
constructor(onLoadedDelegate: () => void);
Parameters
Type Name Description
() => void onLoadedDelegate

Properties

canvas

Declaration
get canvas(): HTMLCanvasElement;
Property Value
Type Description
HTMLCanvasElement

image

Declaration
get image(): HTMLImageElement;
Property Value
Type Description
HTMLImageElement

isLoaded

Declaration
get isLoaded(): boolean;

set isLoaded(value: boolean);
Property Value
Type Description
boolean

isLoading

Declaration
get isLoading(): boolean;

set isLoading(value: boolean);
Property Value
Type Description
boolean

source

Declaration
set source(src: string);
Property Value
Type Description
string

Methods

clear()

Declaration
clear(): void;
Returns
Type Description
void

dispose()

Declaration
dispose(): void;
Returns
Type Description
void

updateCanvas(canvas)

Declaration
updateCanvas(canvas: HTMLCanvasElement): void;
Parameters
Type Name Description
HTMLCanvasElement canvas
Returns
Type Description
void

updateUrl(url)

Declaration
updateUrl(url: string): void;
Parameters
Type Name Description
string url
Returns
Type Description
void
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback