import { CoreModel } from '../core/core.model'; export class ImageModel extends CoreModel { display:boolean = true; label: string = ""; labelPosition: string = "bottom"; url: string="https://selectree.calpoly.edu/images/0200/92/original/cedrus-deodara-leaves.jpg"; constructor(values: Object = {}) { super(values); Object.assign(this, values); if (this.labelPosition === '') this.labelPosition = 'bottom'; if(this.url=='') this.url = "https://selectree.calpoly.edu/images/0200/92/original/cedrus-deodara-leaves.jpg"; } }