WImageCascadingDyn

Description:

Props

Name Type Default value Required? Description
pathItems Array ['詳見原始碼'] No 輸入viewerjs組件js與css檔案位置字串陣列,預設詳見原始碼處props->pathItems->default
images Array [] No 輸入圖片網址陣列,預設[]
imageWidth Number 300 No 輸入圖片寬度數字,單位為px,預設300
imageWidthSoft Number null No 輸入自動計算最小需滿足的圖片寬度數字,單位為px,預設null
colNum Number null No 輸入組件寬度圖片欄位(水平向有幾張圖片)數量數字,預設null
space Number 15 No 輸入圖片間間距長度數字,單位為px,預設15
imageStyle Object {} No 輸入圖片style物件,預設{}
arrangeWhenFinish Object false No 輸入是否於圖片載入完畢時依照原本圖片順序排序布林值,預設false
numParallel Number 5 No 輸入同時載入圖片數量數字,預設5
opt Object {} No 輸入viewerjs設定物件,預設使用optOne或optMuti,若img僅一個則使用optOne,反之使用optMuti
multiple Boolean false No 輸入

Props

Name Type Default value Required? Description
pathItems Array ['詳見原始碼'] No 輸入viewerjs組件js與css檔案位置字串陣列,預設詳見原始碼處props->pathItems->default
images Array [] No 輸入圖片網址陣列,預設[]
imageWidth Number 300 No 輸入圖片寬度數字,單位為px,預設300
imageWidthSoft Number null No 輸入自動計算最小需滿足的圖片寬度數字,單位為px,預設null
colNum Number null No 輸入組件寬度圖片欄位(水平向有幾張圖片)數量數字,預設null
space Number 15 No 輸入圖片間間距長度數字,單位為px,預設15
imageStyle Object {} No 輸入圖片style物件,預設{}
arrangeWhenFinish Object false No 輸入是否於圖片載入完畢時依照原本圖片順序排序布林值,預設false
numParallel Number 5 No 輸入同時載入圖片數量數字,預設5
opt Object {} No 輸入viewerjs設定物件,預設使用optOne或optMuti,若img僅一個則使用optOne,反之使用optMuti
multiple Boolean false No 輸入