w-component-vue
Version:
A simple component for vue(vue2).
564 lines (439 loc) • 22.7 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>WGroupBaggage - 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">WGroupBaggage</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>keyTag</code></td>
<td>String</td>
<td><code>'tag'</code></td>
<td>No</td>
<td>輸入存放標記欄位字串,預設'tag'</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>connLineZoneWidth</code></td>
<td>Number</td>
<td><code>120</code></td>
<td>No</td>
<td>輸入連接線與標記區域寬度數字,單位px,預設120</td>
</tr><tr>
<td><code>connLineWidth</code></td>
<td>Number</td>
<td><code>1</code></td>
<td>No</td>
<td>輸入連接線寬度數字,單位px,預設1</td>
</tr><tr>
<td><code>connLineColor</code></td>
<td>String</td>
<td><code>'#ccc'</code></td>
<td>No</td>
<td>輸入連接線顏色字串,預設'#ccc'</td>
</tr><tr>
<td><code>tagDistBetweenTopAndBaseline</code></td>
<td>Number</td>
<td><code>24</code></td>
<td>No</td>
<td>輸入各項目頂部與標記基線距離數字,單位px,預設24</td>
</tr><tr>
<td><code>tagTextFontSize</code></td>
<td>String</td>
<td><code>'0.7rem'</code></td>
<td>No</td>
<td>輸入標記區文字字型大小字串,預設'0.7rem'</td>
</tr><tr>
<td><code>tagTextColor</code></td>
<td>String</td>
<td><code>'#444'</code></td>
<td>No</td>
<td>輸入標記區文字顏色字串,預設'#444'</td>
</tr><tr>
<td><code>tagTextColorHover</code></td>
<td>String</td>
<td><code>'#222'</code></td>
<td>No</td>
<td>輸入滑鼠移入時標記區文字顏色字串,預設'#222'</td>
</tr><tr>
<td><code>tagBorderRadius</code></td>
<td>Number</td>
<td><code>4</code></td>
<td>No</td>
<td>輸入標記區框線圓角度數字,單位為px,預設4</td>
</tr><tr>
<td><code>tagBorderWidth</code></td>
<td>Number</td>
<td><code>1</code></td>
<td>No</td>
<td>輸入標記區框線寬度數字,單位px,預設1</td>
</tr><tr>
<td><code>tagBorderColor</code></td>
<td>String</td>
<td><code>'#fff'</code></td>
<td>No</td>
<td>輸入標記區框線顏色字串,預設'#fff'</td>
</tr><tr>
<td><code>tagBorderColor</code></td>
<td>String</td>
<td><code>'#ccc'</code></td>
<td>No</td>
<td>輸入滑鼠移入時標記區框線顏色字串,預設'#ccc'</td>
</tr><tr>
<td><code>tagBackgroundColor</code></td>
<td>String</td>
<td><code>'#e5e5e5'</code></td>
<td>No</td>
<td>輸入標記區背景顏色字串,預設'#e5e5e5'</td>
</tr><tr>
<td><code>tagBackgroundColorHover</code></td>
<td>String</td>
<td><code>'#d8d8d8'</code></td>
<td>No</td>
<td>輸入滑鼠移入時標記區背景顏色字串,預設'#d8d8d8'</td>
</tr><tr>
<td><code>tagPaddingStyle</code></td>
<td>Object</td>
<td><code>{v:1,h:5}</code></td>
<td>No</td>
<td>輸入標記區內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:1,h:5}</td>
</tr><tr>
<td><code>tagClickable</code></td>
<td>Boolean</td>
<td><code>false</code></td>
<td>No</td>
<td>輸入標記區是否可點擊布林值,預設false</td>
</tr><tr>
<td><code>contentShiftTopFromBaseline</code></td>
<td>Number</td>
<td><code>11</code></td>
<td>No</td>
<td>輸入內容區由標記基線平移距離數字,單位px,預設11</td>
</tr><tr>
<td><code>contentTextFontSize</code></td>
<td>String</td>
<td><code>'0.85rem'</code></td>
<td>No</td>
<td>輸入內容區文字字型大小字串,預設'0.85rem'</td>
</tr><tr>
<td><code>contentTextColor</code></td>
<td>String</td>
<td><code>'#444'</code></td>
<td>No</td>
<td>輸入內容區文字顏色字串,預設'#444'</td>
</tr><tr>
<td><code>contentTextColorHover</code></td>
<td>String</td>
<td><code>'#222'</code></td>
<td>No</td>
<td>輸入滑鼠移入時內容區文字顏色字串,預設'#222'</td>
</tr><tr>
<td><code>contentBorderRadius</code></td>
<td>Number</td>
<td><code>4</code></td>
<td>No</td>
<td>輸入內容區框線圓角度數字,單位為px,預設4</td>
</tr><tr>
<td><code>contentBorderWidth</code></td>
<td>Number</td>
<td><code>1</code></td>
<td>No</td>
<td>輸入內容區框線寬度數字,單位px,預設1</td>
</tr><tr>
<td><code>contentBorderColor</code></td>
<td>String</td>
<td><code>'#ddd'</code></td>
<td>No</td>
<td>輸入內容區框線顏色字串,預設'#ddd'</td>
</tr><tr>
<td><code>contentBorderColor</code></td>
<td>String</td>
<td><code>'#cccccc'</code></td>
<td>No</td>
<td>輸入滑鼠移入時內容區框線顏色字串,預設'#cccccc'</td>
</tr><tr>
<td><code>contentBackgroundColor</code></td>
<td>String</td>
<td><code>'#fff'</code></td>
<td>No</td>
<td>輸入內容區背景顏色字串,預設'#fff'</td>
</tr><tr>
<td><code>contentBackgroundColorHover</code></td>
<td>String</td>
<td><code>'#f2f2f2'</code></td>
<td>No</td>
<td>輸入滑鼠移入時內容區背景顏色字串,預設'#f2f2f2'</td>
</tr><tr>
<td><code>contentPaddingStyle</code></td>
<td>Object</td>
<td><code>{v:1,h:5}</code></td>
<td>No</td>
<td>輸入內容區內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:1,h:5}</td>
</tr><tr>
<td><code>contentClickable</code></td>
<td>Boolean</td>
<td><code>false</code></td>
<td>No</td>
<td>輸入內容區是否可點擊布林值,預設false</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>keyTag</code></td>
<td>String</td>
<td><code>'tag'</code></td>
<td>No</td>
<td>輸入存放標記欄位字串,預設'tag'</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>connLineZoneWidth</code></td>
<td>Number</td>
<td><code>120</code></td>
<td>No</td>
<td>輸入連接線與標記區域寬度數字,單位px,預設120</td>
</tr><tr>
<td><code>connLineWidth</code></td>
<td>Number</td>
<td><code>1</code></td>
<td>No</td>
<td>輸入連接線寬度數字,單位px,預設1</td>
</tr><tr>
<td><code>connLineColor</code></td>
<td>String</td>
<td><code>'#ccc'</code></td>
<td>No</td>
<td>輸入連接線顏色字串,預設'#ccc'</td>
</tr><tr>
<td><code>tagDistBetweenTopAndBaseline</code></td>
<td>Number</td>
<td><code>24</code></td>
<td>No</td>
<td>輸入各項目頂部與標記基線距離數字,單位px,預設24</td>
</tr><tr>
<td><code>tagTextFontSize</code></td>
<td>String</td>
<td><code>'0.7rem'</code></td>
<td>No</td>
<td>輸入標記區文字字型大小字串,預設'0.7rem'</td>
</tr><tr>
<td><code>tagTextColor</code></td>
<td>String</td>
<td><code>'#444'</code></td>
<td>No</td>
<td>輸入標記區文字顏色字串,預設'#444'</td>
</tr><tr>
<td><code>tagTextColorHover</code></td>
<td>String</td>
<td><code>'#222'</code></td>
<td>No</td>
<td>輸入滑鼠移入時標記區文字顏色字串,預設'#222'</td>
</tr><tr>
<td><code>tagBorderRadius</code></td>
<td>Number</td>
<td><code>4</code></td>
<td>No</td>
<td>輸入標記區框線圓角度數字,單位為px,預設4</td>
</tr><tr>
<td><code>tagBorderWidth</code></td>
<td>Number</td>
<td><code>1</code></td>
<td>No</td>
<td>輸入標記區框線寬度數字,單位px,預設1</td>
</tr><tr>
<td><code>tagBorderColor</code></td>
<td>String</td>
<td><code>'#fff'</code></td>
<td>No</td>
<td>輸入標記區框線顏色字串,預設'#fff'</td>
</tr><tr>
<td><code>tagBorderColor</code></td>
<td>String</td>
<td><code>'#ccc'</code></td>
<td>No</td>
<td>輸入滑鼠移入時標記區框線顏色字串,預設'#ccc'</td>
</tr><tr>
<td><code>tagBackgroundColor</code></td>
<td>String</td>
<td><code>'#e5e5e5'</code></td>
<td>No</td>
<td>輸入標記區背景顏色字串,預設'#e5e5e5'</td>
</tr><tr>
<td><code>tagBackgroundColorHover</code></td>
<td>String</td>
<td><code>'#d8d8d8'</code></td>
<td>No</td>
<td>輸入滑鼠移入時標記區背景顏色字串,預設'#d8d8d8'</td>
</tr><tr>
<td><code>tagPaddingStyle</code></td>
<td>Object</td>
<td><code>{v:1,h:5}</code></td>
<td>No</td>
<td>輸入標記區內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:1,h:5}</td>
</tr><tr>
<td><code>tagClickable</code></td>
<td>Boolean</td>
<td><code>false</code></td>
<td>No</td>
<td>輸入標記區是否可點擊布林值,預設false</td>
</tr><tr>
<td><code>contentShiftTopFromBaseline</code></td>
<td>Number</td>
<td><code>11</code></td>
<td>No</td>
<td>輸入內容區由標記基線平移距離數字,單位px,預設11</td>
</tr><tr>
<td><code>contentTextFontSize</code></td>
<td>String</td>
<td><code>'0.85rem'</code></td>
<td>No</td>
<td>輸入內容區文字字型大小字串,預設'0.85rem'</td>
</tr><tr>
<td><code>contentTextColor</code></td>
<td>String</td>
<td><code>'#444'</code></td>
<td>No</td>
<td>輸入內容區文字顏色字串,預設'#444'</td>
</tr><tr>
<td><code>contentTextColorHover</code></td>
<td>String</td>
<td><code>'#222'</code></td>
<td>No</td>
<td>輸入滑鼠移入時內容區文字顏色字串,預設'#222'</td>
</tr><tr>
<td><code>contentBorderRadius</code></td>
<td>Number</td>
<td><code>4</code></td>
<td>No</td>
<td>輸入內容區框線圓角度數字,單位為px,預設4</td>
</tr><tr>
<td><code>contentBorderWidth</code></td>
<td>Number</td>
<td><code>1</code></td>
<td>No</td>
<td>輸入內容區框線寬度數字,單位px,預設1</td>
</tr><tr>
<td><code>contentBorderColor</code></td>
<td>String</td>
<td><code>'#ddd'</code></td>
<td>No</td>
<td>輸入內容區框線顏色字串,預設'#ddd'</td>
</tr><tr>
<td><code>contentBorderColor</code></td>
<td>String</td>
<td><code>'#cccccc'</code></td>
<td>No</td>
<td>輸入滑鼠移入時內容區框線顏色字串,預設'#cccccc'</td>
</tr><tr>
<td><code>contentBackgroundColor</code></td>
<td>String</td>
<td><code>'#fff'</code></td>
<td>No</td>
<td>輸入內容區背景顏色字串,預設'#fff'</td>
</tr><tr>
<td><code>contentBackgroundColorHover</code></td>
<td>String</td>
<td><code>'#f2f2f2'</code></td>
<td>No</td>
<td>輸入滑鼠移入時內容區背景顏色字串,預設'#f2f2f2'</td>
</tr><tr>
<td><code>contentPaddingStyle</code></td>
<td>Object</td>
<td><code>{v:1,h:5}</code></td>
<td>No</td>
<td>輸入內容區內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:1,h:5}</td>
</tr><tr>
<td><code>contentClickable</code></td>
<td>Boolean</td>
<td><code>false</code></td>
<td>No</td>
<td>輸入內容區是否可點擊布林值,預設false</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>