parseHostConfig() {

		this.altText = this.payload.altText || Constants.EmptyString;
		this.horizontalAlignment = this.getImageAlignment();
		this.selectAction = this.payload.selectAction || null;
		if (Utils.isNullOrEmpty(this.payload.size)) {
			this.isSizeUndefined = true;
			this.payload.size = Constants.Auto;
		}
		this.sizeStyling = this.applySize();
		this.type = this.payload.type || Constants.EmptyString;
		let imageUrl = this.payload.url || Constants.EmptyString

		this.url = Utils.getImageUrl(imageUrl)
		this.id = this.payload.id || Constants.EmptyString;
		let spacingValue = Utils.parseHostConfigEnum(
			Enums.Spacing,
			this.payload.spacing,
			Enums.Spacing.Small);
		this.spacing = this.hostConfig.getEffectiveSpacing(spacingValue);
		this.separator = this.payload.separator || false;
		this.backgroundColor = Utils.hexToRGB(this.payload.backgroundColor) || Constants.TransparentString;
	}
/**
     * @description Parse hostconfig specific to this element
     */
@description Parse hostconfig specific to this element
@description Parse hostconfig specific to this element
parseHostConfig() {
		this.altText = this.payload.altText || Constants.EmptyString;
		this.horizontalAlignment = this.getImageAlignment();
		this.selectAction = this.payload.selectAction || null;
		if (Utils.isNullOrEmpty(this.payload.size)) {
			this.isSizeUndefined = true;
			this.payload.size = Constants.Auto;
		}
		this.sizeStyling = this.applySize();
		this.type = this.payload.type || Constants.EmptyString;
		let imageUrl = this.payload.url || Constants.EmptyString
		this.url = Utils.getImageUrl(imageUrl)
		this.id = this.payload.id || Constants.EmptyString;
		let spacingValue = Utils.parseHostConfigEnum(
			Enums.Spacing,
			this.payload.spacing,
			Enums.Spacing.Small);
		this.spacing = this.hostConfig.getEffectiveSpacing(spacingValue);
		this.separator = this.payload.separator || false;
		this.backgroundColor = Utils.hexToRGB(this.payload.backgroundColor) || Constants.TransparentString;
	}
parseHostConfig ( ) { this . altText = this . payload . altText || Constants . EmptyString ; this . horizontalAlignment = this . getImageAlignment ( ) ; this . selectAction = this . payload . selectAction || null ; if ( Utils . isNullOrEmpty ( this . payload . size ) ) { this . isSizeUndefined = true ; this . payload . size = Constants . Auto ; } this . sizeStyling = this . applySize ( ) ; this . type = this . payload . type || Constants . EmptyString ; let imageUrl = this . payload . url || Constants . EmptyString this . url = Utils . getImageUrl ( imageUrl ) this . id = this . payload . id || Constants . EmptyString ; let spacingValue = Utils . parseHostConfigEnum ( Enums . Spacing , this . payload . spacing , Enums . Spacing . Small ) ; this . spacing = this . hostConfig . getEffectiveSpacing ( spacingValue ) ; this . separator = this . payload . separator || false ; this . backgroundColor = Utils . hexToRGB ( this . payload . backgroundColor ) || Constants . TransparentString ; }
@description Parse hostconfig specific to this element
@description Parse hostconfig specific to this element