ts-viewers-core
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -307,3 +307,30 @@ // Generated by dts-bundle-generator v5.9.0 | ||
} | ||
export declare const customStampEvent: "tsviewer-customstampchange"; | ||
export interface CustomStampEventDetail { | ||
type: "add" | "delete"; | ||
stamp: CustomStampCreationInfo; | ||
} | ||
export declare class CustomStampEvent extends CustomEvent<CustomStampEventDetail> { | ||
constructor(detail: CustomStampEventDetail); | ||
} | ||
export declare class CustomStampService { | ||
private readonly _container; | ||
private readonly _eventService; | ||
private readonly _customStampsByType; | ||
private readonly _fileInput; | ||
private readonly _loader; | ||
private _overlay; | ||
constructor(container: HTMLElement, eventService: EventService); | ||
destroy(): void; | ||
importCustomStamps(stamps: CustomStampCreationInfo[]): void; | ||
getCustomStamps(): CustomStampCreationInfo[]; | ||
addCustomStamp(stamp: CustomStampCreationInfo): void; | ||
removeCustomStamp(type: string): void; | ||
startLoadingImage(): void; | ||
startDrawing(): void; | ||
private onFileInput; | ||
private openImageLoaderOverlayAsync; | ||
private openDesignerOverlayAsync; | ||
} | ||
export {}; |
{ | ||
"name": "ts-viewers-core", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "browser image viewer with basic painting support", | ||
@@ -5,0 +5,0 @@ "module": "dist/ts-viewers-core.esm.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176229
3072