@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.11 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
*/
import{_ as e}from"../../chunks/tslib.es6.js";import{property as r}from"../../core/accessorSupport/decorators/property.js";import"../../core/has.js";import"../../core/Logger.js";import"../../core/RandomLCG.js";import{subclass as t}from"../../core/accessorSupport/decorators/subclass.js";import o from"./mixins/MediaInfo.js";import s from"./support/ImageMediaInfoValue.js";var i;let a=i=class extends o{constructor(e){super(e),this.refreshInterval=0,this.type="image",this.value=void 0}clone(){return new i({altText:this.altText,title:this.title,caption:this.caption,refreshInterval:this.refreshInterval,value:this.value?.clone()})}};e([r({type:Number,json:{write:!0}})],a.prototype,"refreshInterval",void 0),e([r({type:["image"],readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],a.prototype,"type",void 0),e([r({type:s,json:{write:{isRequired:!0}}})],a.prototype,"value",void 0),a=i=e([t("esri.popup.content.ImageMediaInfo")],a);const p=a;export{p as default};