diff --git a/package.json b/package.json index fbe74841..279a334f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@soramitsu/soramitsu-js-ui", - "version": "1.0.29", + "version": "1.0.30", "private": false, "publishConfig": { "registry": "https://nexus.iroha.tech/repository/npm-soramitsu/" diff --git a/src/components/Image/SImage/SImage.vue b/src/components/Image/SImage/SImage.vue index 8ac33fa2..0718d2fb 100644 --- a/src/components/Image/SImage/SImage.vue +++ b/src/components/Image/SImage/SImage.vue @@ -6,6 +6,7 @@ :fit="fit" :alt="alt" :lazy="lazy" + :preview-src-list="srcList" :scroll-container="scrollContainer" :z-ndex="zIndex" > @@ -55,6 +56,10 @@ export default class SImage extends Vue { * Posssible value is the nearest parent container whose overflow property is auto or scroll */ @Prop({ type: [String, HTMLElement] }) readonly scrollContainer!: string | HTMLElement + /** + * Allow big image preview. It accepts list of image URLs + */ + @Prop({ default: () => [], type: Array }) readonly srcList!: Array /** * Set image preview z-index */