@ticnat/nativescript-image-cache
Version:
Plugin for caching images
15 lines (14 loc) • 675 B
TypeScript
/// <reference types="@ticnat/nativescript-image-cache/ios-ts-lib/types" />
import { ImageCacheCommon } from './common';
export declare class ImageCache extends ImageCacheCommon {
constructor();
createNativeView(): any;
onMeasure(widthMeasureSpec: any, heightMeasureSpec: any): void;
computeScaleFactor(measureWidth: any, measureHeight: any, widthIsFinite: any, heightIsFinite: any, nativeWidth: any, nativeHeight: any, imageStretch: any): {
width: number;
height: number;
};
}
export declare function setCacheLimit(numberOfDays: any): void;
export declare function clearCache(): void;
export declare function initializeOnAngular(): void;