Skip to main content

Image

This element allows us to embed (attach) url of the required image in the data.

Example

A8Studio

API Methods

setFillImage

setFillImage(fillImage: boolean): void

setImageSrc

Sets src to image of the node.

setImageSrc(src: string): void

setSize

Sets the image size using the parameters passed in.

setSize(size: "small" | "medium" | "large"): void

setVisibility

Sets if elements of the given category is visible in this view.

setVisibility(visible: boolean): void

setVisibilityCondition

Sets the hide condition

setVisibilityCondition(condition: string): void