UNPKG

w-component-vue

Version:
492 lines (367 loc) 20.2 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>WListVertical - Documentation</title> <script src="scripts/prettify/prettify.js"></script> <script src="scripts/prettify/lang-css.js"></script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> <script src="scripts/nav.js" defer></script> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <input type="checkbox" id="nav-trigger" class="nav-trigger" /> <label for="nav-trigger" class="navicon-button x"> <div class="navicon"></div> </label> <label for="nav-trigger" class="overlay"></label> <nav > <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-WAggridVueDyn.html">WAggridVueDyn</a></li><li><a href="module-WBadge.html">WBadge</a></li><li><a href="module-WButtonChip.html">WButtonChip</a></li><li><a href="module-WButtonCircle.html">WButtonCircle</a></li><li><a href="module-WCheckbox.html">WCheckbox</a></li><li><a href="module-WCkeditorVueDyn.html">WCkeditorVueDyn</a></li><li><a href="module-WColorPickAlpha.html">WColorPickAlpha</a></li><li><a href="module-WColorPickHexagon.html">WColorPickHexagon</a></li><li><a href="module-WColorPickHexagonGray.html">WColorPickHexagonGray</a></li><li><a href="module-WColorPickHsv.html">WColorPickHsv</a></li><li><a href="module-WColorPickHue.html">WColorPickHue</a></li><li><a href="module-WColorPickStripe.html">WColorPickStripe</a></li><li><a href="module-WColorSelect.html">WColorSelect</a></li><li><a href="module-WColorSelectInput.html">WColorSelectInput</a></li><li><a href="module-WColorSelectPanel.html">WColorSelectPanel</a></li><li><a href="module-WColorSelectPanelBlock.html">WColorSelectPanelBlock</a></li><li><a href="module-WColorSelectPanelHsva.html">WColorSelectPanelHsva</a></li><li><a href="module-WConfirm.html">WConfirm</a></li><li><a href="module-WDialog.html">WDialog</a></li><li><a href="module-WDrawer.html">WDrawer</a></li><li><a href="module-WDropfiles.html">WDropfiles</a></li><li><a href="module-WDynamicList.html">WDynamicList</a></li><li><a href="module-WEchartsVueDyn.html">WEchartsVueDyn</a></li><li><a href="module-WExplorer.html">WExplorer</a></li><li><a href="module-WGroupBaggage.html">WGroupBaggage</a></li><li><a href="module-WGroupChipCheck.html">WGroupChipCheck</a></li><li><a href="module-WGroupChipRadio.html">WGroupChipRadio</a></li><li><a href="module-WGroupDragdrop.html">WGroupDragdrop</a></li><li><a href="module-WGroupIconCheck.html">WGroupIconCheck</a></li><li><a href="module-WGroupIconRadio.html">WGroupIconRadio</a></li><li><a href="module-WGroupTags.html">WGroupTags</a></li><li><a href="module-WHighchartsBitmapDyn.html">WHighchartsBitmapDyn</a></li><li><a href="module-WHighchartsVueDyn.html">WHighchartsVueDyn</a></li><li><a href="module-WHighstockVueDyn.html">WHighstockVueDyn</a></li><li><a href="module-WIcon.html">WIcon</a></li><li><a href="module-WIconLoading.html">WIconLoading</a></li><li><a href="module-WImageCascadingDyn.html">WImageCascadingDyn</a></li><li><a href="module-WImageLazy.html">WImageLazy</a></li><li><a href="module-WImageViewerDyn.html">WImageViewerDyn</a></li><li><a href="module-WInputCheckbox.html">WInputCheckbox</a></li><li><a href="module-WInputRadio.html">WInputRadio</a></li><li><a href="module-WJsonView.html">WJsonView</a></li><li><a href="module-WLeafletVueDyn.html">WLeafletVueDyn</a></li><li><a href="module-WLevelGrade.html">WLevelGrade</a></li><li><a href="module-WListCheck.html">WListCheck</a></li><li><a href="module-WListExpand.html">WListExpand</a></li><li><a href="module-WListExpandItem.html">WListExpandItem</a></li><li><a href="module-WListHorizontal.html">WListHorizontal</a></li><li><a href="module-WListItem.html">WListItem</a></li><li><a href="module-WListRadio.html">WListRadio</a></li><li><a href="module-WListVertical.html">WListVertical</a></li><li><a href="module-WPanelAvatar.html">WPanelAvatar</a></li><li><a href="module-WPanelBulge.html">WPanelBulge</a></li><li><a href="module-WPanelDivideHorizontal.html">WPanelDivideHorizontal</a></li><li><a href="module-WPanelDivideVertical.html">WPanelDivideVertical</a></li><li><a href="module-WPanelLabelItem.html">WPanelLabelItem</a></li><li><a href="module-WPanelScale.html">WPanelScale</a></li><li><a href="module-WPanelScrolly.html">WPanelScrolly</a></li><li><a href="module-WPanelScrollyCore.html">WPanelScrollyCore</a></li><li><a href="module-WPanelStripe.html">WPanelStripe</a></li><li><a href="module-WPopup.html">WPopup</a></li><li><a href="module-WPopupEditText.html">WPopupEditText</a></li><li><a href="module-WProgressBar.html">WProgressBar</a></li><li><a href="module-WProgressCircle.html">WProgressCircle</a></li><li><a href="module-WQuillVueDyn.html">WQuillVueDyn</a></li><li><a href="module-WSegmentsVertical.html">WSegmentsVertical</a></li><li><a href="module-WShellBottomLine.html">WShellBottomLine</a></li><li><a href="module-WShellEllipse.html">WShellEllipse</a></li><li><a href="module-WSlider.html">WSlider</a></li><li><a href="module-WSwitch.html">WSwitch</a></li><li><a href="module-WTableDyn.html">WTableDyn</a></li><li><a href="module-WText.html">WText</a></li><li><a href="module-WTextCore.html">WTextCore</a></li><li><a href="module-WTextInt.html">WTextInt</a></li><li><a href="module-WTextIntCore.html">WTextIntCore</a></li><li><a href="module-WTextSelect.html">WTextSelect</a></li><li><a href="module-WTextSuggest.html">WTextSuggest</a></li><li><a href="module-WTextSuggestCore.html">WTextSuggestCore</a></li><li><a href="module-WTextarea.html">WTextarea</a></li><li><a href="module-WTextareaCore.html">WTextareaCore</a></li><li><a href="module-WThreejsVueDyn.html">WThreejsVueDyn</a></li><li><a href="module-WTimeday.html">WTimeday</a></li><li><a href="module-WTimedayCore.html">WTimedayCore</a></li><li><a href="module-WTimedayCoreRe.html">WTimedayCoreRe</a></li><li><a href="module-WTimedayRange.html">WTimedayRange</a></li><li><a href="module-WTimedayRangeCore.html">WTimedayRangeCore</a></li><li><a href="module-WTimeminute.html">WTimeminute</a></li><li><a href="module-WTimeminuteCore.html">WTimeminuteCore</a></li><li><a href="module-WTimeminuteRange.html">WTimeminuteRange</a></li><li><a href="module-WTimeminuteRangeCore.html">WTimeminuteRangeCore</a></li><li><a href="module-WTinymceVueDyn.html">WTinymceVueDyn</a></li><li><a href="module-WTooltip.html">WTooltip</a></li><li><a href="module-WTree.html">WTree</a></li><li><a href="module-WTreeIconCheckbox.html">WTreeIconCheckbox</a></li><li><a href="module-WTreeIconToggle.html">WTreeIconToggle</a></li><li><a href="module-WVditorDyn.html">WVditorDyn</a></li></ul><h3>Global</h3><ul><li><a href="global.html#binarySearch">binarySearch</a></li><li><a href="global.html#convertColor">convertColor</a></li></ul> </nav> <div id="main"> <h1 class="page-title">WListVertical</h1> <section> <header> </header> <article> <div class="container-overview"> <dl class="details"> <dt class="tag-description">Description:</dt> <dd class="tag-description"><ul class="dummy"><li></p></div></div> <h3 class="subsection-title" style="margin-top: 1em" data-jsdoc-vuejs="section-props">Props</h3> <table data-jsdoc-vuejs="table-props"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Default value</th> <th>Required?</th> <th>Description</th> </tr> </thead> <tbody><tr> <td><code>items</code></td> <td>Array</td> <td><code>[]</code></td> <td>No</td> <td>輸入項目的字串陣列或物件陣列,預設[]</td> </tr><tr> <td><code>enableActive</code></td> <td>Boolean</td> <td><code>false</code></td> <td>No</td> <td>輸入項目是否使用點擊成為活耀狀態布林值,預設false</td> </tr><tr> <td><code>itemActive</code></td> <td>String|Object</td> <td><code>null</code></td> <td>No</td> <td>輸入活耀項目字串或物件,預設null</td> </tr><tr> <td><code>keyText</code></td> <td>String</td> <td><code>'text'</code></td> <td>No</td> <td>輸入項目為物件時,存放顯示文字之欄位字串,預設'text'</td> </tr><tr> <td><code>keyIcon</code></td> <td>String</td> <td><code>'icon'</code></td> <td>No</td> <td>輸入項目為物件時,存放圖標之欄位字串,預設'icon'</td> </tr><tr> <td><code>paddingStyle</code></td> <td>Object</td> <td><code>{v:10,h:12}</code></td> <td>No</td> <td>輸入內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:10,h:12}</td> </tr><tr> <td><code>itemBackgroundColor</code></td> <td>String</td> <td><code>'white'</code></td> <td>No</td> <td>輸入背景顏色字串,預設'white'</td> </tr><tr> <td><code>itemBackgroundColorHover</code></td> <td>String</td> <td><code>'rgba(200,200,200,0.2)'</code></td> <td>No</td> <td>輸入滑鼠移入時背景顏色字串,預設'rgba(200,200,200,0.2)'</td> </tr><tr> <td><code>itemBackgroundColorActive</code></td> <td>String</td> <td><code>'orange lighten-1'</code></td> <td>No</td> <td>輸入主動模式時背景顏色字串,預設'orange lighten-1'</td> </tr><tr> <td><code>itemBackgroundColorDisabled</code></td> <td>String</td> <td><code>'white'</code></td> <td>No</td> <td>輸入非啟用模式時背景顏色字串,預設'white'</td> </tr><tr> <td><code>itemTextFontSize</code></td> <td>String</td> <td><code>'1rem'</code></td> <td>No</td> <td>輸入文字字型大小字串,預設'1rem'</td> </tr><tr> <td><code>itemTextColor</code></td> <td>String</td> <td><code>'#444'</code></td> <td>No</td> <td>輸入文字顏色字串,預設'#444'</td> </tr><tr> <td><code>itemTextColorHover</code></td> <td>String</td> <td><code>'#222'</code></td> <td>No</td> <td>輸入滑鼠移入時文字顏色字串,預設'#222'</td> </tr><tr> <td><code>itemTextColorActive</code></td> <td>String</td> <td><code>'white'</code></td> <td>No</td> <td>輸入主動模式時文字顏色字串,預設'white'</td> </tr><tr> <td><code>itemTextColorDisabled</code></td> <td>String</td> <td><code>'#444'</code></td> <td>No</td> <td>輸入非啟用模式時文字顏色字串,預設'#444'</td> </tr><tr> <td><code>itemIconSize</code></td> <td>Number</td> <td><code>22</code></td> <td>No</td> <td>輸入左側圖標之尺寸數字,單位px,預設22</td> </tr><tr> <td><code>itemIconColor</code></td> <td>String</td> <td><code>'#444'</code></td> <td>No</td> <td>輸入圖標顏色字串,預設'#444'</td> </tr><tr> <td><code>itemIconColorHover</code></td> <td>String</td> <td><code>'#222'</code></td> <td>No</td> <td>輸入滑鼠移入時圖標顏色字串,預設'#222'</td> </tr><tr> <td><code>itemIconColorActive</code></td> <td>String</td> <td><code>'white'</code></td> <td>No</td> <td>輸入主動模式時圖標顏色字串,預設'white'</td> </tr><tr> <td><code>itemIconColorDisabled</code></td> <td>String</td> <td><code>'#444'</code></td> <td>No</td> <td>輸入非啟用模式時圖標顏色字串,預設'#444'</td> </tr><tr> <td><code>itemRippleColor</code></td> <td>String</td> <td><code>'rgba(255,255,255,0.4)'</code></td> <td>No</td> <td>輸入ripple效果顏色字串,預設'rgba(255,255,255,0.4)'</td> </tr><tr> <td><code>itemDisabledColor</code></td> <td>String</td> <td><code>'transparent'</code></td> <td>No</td> <td>輸入非編輯模式時遮罩顏色字串,預設'transparent'</td> </tr><tr> <td><code>itemCursorPointer</code></td> <td>Boolean</td> <td><code>true</code></td> <td>No</td> <td>輸入是否滑鼠移入顯示pointer樣式布林值,預設true</td> </tr><tr> <td><code>funFilter</code></td> <td>function</td> <td><code>null</code></td> <td>No</td> <td>輸入過濾時呼叫處理函數,可使用sync或async函數,傳入為各項目物件資料,若為sync函數回傳布林值,若為async函數等待resolve結果為布林值,代表項目內是否含有關鍵字,預設null</td> </tr></tbody> </table> <div class="container-overview"><div><p> </li></ul></dd> </dl> <div class="description usertext"></p></div></div> <h3 class="subsection-title" style="margin-top: 1em" data-jsdoc-vuejs="section-props">Props</h3> <table data-jsdoc-vuejs="table-props"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Default value</th> <th>Required?</th> <th>Description</th> </tr> </thead> <tbody><tr> <td><code>items</code></td> <td>Array</td> <td><code>[]</code></td> <td>No</td> <td>輸入項目的字串陣列或物件陣列,預設[]</td> </tr><tr> <td><code>enableActive</code></td> <td>Boolean</td> <td><code>false</code></td> <td>No</td> <td>輸入項目是否使用點擊成為活耀狀態布林值,預設false</td> </tr><tr> <td><code>itemActive</code></td> <td>String|Object</td> <td><code>null</code></td> <td>No</td> <td>輸入活耀項目字串或物件,預設null</td> </tr><tr> <td><code>keyText</code></td> <td>String</td> <td><code>'text'</code></td> <td>No</td> <td>輸入項目為物件時,存放顯示文字之欄位字串,預設'text'</td> </tr><tr> <td><code>keyIcon</code></td> <td>String</td> <td><code>'icon'</code></td> <td>No</td> <td>輸入項目為物件時,存放圖標之欄位字串,預設'icon'</td> </tr><tr> <td><code>paddingStyle</code></td> <td>Object</td> <td><code>{v:10,h:12}</code></td> <td>No</td> <td>輸入內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:10,h:12}</td> </tr><tr> <td><code>itemBackgroundColor</code></td> <td>String</td> <td><code>'white'</code></td> <td>No</td> <td>輸入背景顏色字串,預設'white'</td> </tr><tr> <td><code>itemBackgroundColorHover</code></td> <td>String</td> <td><code>'rgba(200,200,200,0.2)'</code></td> <td>No</td> <td>輸入滑鼠移入時背景顏色字串,預設'rgba(200,200,200,0.2)'</td> </tr><tr> <td><code>itemBackgroundColorActive</code></td> <td>String</td> <td><code>'orange lighten-1'</code></td> <td>No</td> <td>輸入主動模式時背景顏色字串,預設'orange lighten-1'</td> </tr><tr> <td><code>itemBackgroundColorDisabled</code></td> <td>String</td> <td><code>'white'</code></td> <td>No</td> <td>輸入非啟用模式時背景顏色字串,預設'white'</td> </tr><tr> <td><code>itemTextFontSize</code></td> <td>String</td> <td><code>'1rem'</code></td> <td>No</td> <td>輸入文字字型大小字串,預設'1rem'</td> </tr><tr> <td><code>itemTextColor</code></td> <td>String</td> <td><code>'#444'</code></td> <td>No</td> <td>輸入文字顏色字串,預設'#444'</td> </tr><tr> <td><code>itemTextColorHover</code></td> <td>String</td> <td><code>'#222'</code></td> <td>No</td> <td>輸入滑鼠移入時文字顏色字串,預設'#222'</td> </tr><tr> <td><code>itemTextColorActive</code></td> <td>String</td> <td><code>'white'</code></td> <td>No</td> <td>輸入主動模式時文字顏色字串,預設'white'</td> </tr><tr> <td><code>itemTextColorDisabled</code></td> <td>String</td> <td><code>'#444'</code></td> <td>No</td> <td>輸入非啟用模式時文字顏色字串,預設'#444'</td> </tr><tr> <td><code>itemIconSize</code></td> <td>Number</td> <td><code>22</code></td> <td>No</td> <td>輸入左側圖標之尺寸數字,單位px,預設22</td> </tr><tr> <td><code>itemIconColor</code></td> <td>String</td> <td><code>'#444'</code></td> <td>No</td> <td>輸入圖標顏色字串,預設'#444'</td> </tr><tr> <td><code>itemIconColorHover</code></td> <td>String</td> <td><code>'#222'</code></td> <td>No</td> <td>輸入滑鼠移入時圖標顏色字串,預設'#222'</td> </tr><tr> <td><code>itemIconColorActive</code></td> <td>String</td> <td><code>'white'</code></td> <td>No</td> <td>輸入主動模式時圖標顏色字串,預設'white'</td> </tr><tr> <td><code>itemIconColorDisabled</code></td> <td>String</td> <td><code>'#444'</code></td> <td>No</td> <td>輸入非啟用模式時圖標顏色字串,預設'#444'</td> </tr><tr> <td><code>itemRippleColor</code></td> <td>String</td> <td><code>'rgba(255,255,255,0.4)'</code></td> <td>No</td> <td>輸入ripple效果顏色字串,預設'rgba(255,255,255,0.4)'</td> </tr><tr> <td><code>itemDisabledColor</code></td> <td>String</td> <td><code>'transparent'</code></td> <td>No</td> <td>輸入非編輯模式時遮罩顏色字串,預設'transparent'</td> </tr><tr> <td><code>itemCursorPointer</code></td> <td>Boolean</td> <td><code>true</code></td> <td>No</td> <td>輸入是否滑鼠移入顯示pointer樣式布林值,預設true</td> </tr><tr> <td><code>funFilter</code></td> <td>function</td> <td><code>null</code></td> <td>No</td> <td>輸入過濾時呼叫處理函數,可使用sync或async函數,傳入為各項目物件資料,若為sync函數回傳布林值,若為async函數等待resolve結果為布林值,代表項目內是否含有關鍵字,預設null</td> </tr></tbody> </table> <div class="container-overview"><div><p> </div> </div> </article> </section> </div> <br class="clear"> <footer> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Sep 23 2025 16:05:24 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. </footer> <script>prettyPrint();</script> <script src="scripts/polyfill.js"></script> <script src="scripts/linenumber.js"></script> </body> </html>