@ngodings/ngx-image-tagger
Version:
Simple Image Tagger like instagram, easy to put stuff/item information in x/y position from image, easy configuration in Angular
25 lines (24 loc) • 459 B
TypeScript
export interface Tagged {
id: string;
name?: string;
url?: string;
price?: number;
x: number;
y: number;
open: boolean;
isOffsideX: boolean;
isOffsideY: boolean;
tagger: TaggerModel;
}
export interface TaggerModel {
idParent: string;
id: string;
style?: string;
x?: number;
y?: number;
isOffsideX?: boolean;
isOffsideY?: boolean;
url: string;
urlShop?: string;
tags: Tagged[];
}