UNPKG

w-component-vue

Version:
516 lines (391 loc) 20.3 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>WPanelAvatar - 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">WPanelAvatar</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>avatarOuterPadding</code></td> <td>Number</td> <td><code>15</code></td> <td>No</td> <td>輸入圖標區外側間距數字,單位為px,預設15</td> </tr><tr> <td><code>avatarInnerPadding</code></td> <td>Number</td> <td><code>15</code></td> <td>No</td> <td>輸入圖標區內側間距數字,單位為px,預設15</td> </tr><tr> <td><code>avatarIcon</code></td> <td>String</td> <td><code>mdiForest</code></td> <td>No</td> <td>輸入圖標字串,預設mdiForest</td> </tr><tr> <td><code>avatarIconSize</code></td> <td>Number</td> <td><code>60</code></td> <td>No</td> <td>輸入圖標尺寸數字,單位為px,預設60</td> </tr><tr> <td><code>avatarIconColor</code></td> <td>String</td> <td><code>'white'</code></td> <td>No</td> <td>輸入圖標顏色字串,預設'white'</td> </tr><tr> <td><code>avatarBorderWidth</code></td> <td>Number</td> <td><code>1</code></td> <td>No</td> <td>輸入圖標區框線寬度數字,單位為px,預設1</td> </tr><tr> <td><code>avatarBorderColor</code></td> <td>String</td> <td><code>'transparnet'</code></td> <td>No</td> <td>輸入圖標區框線顏色字串,預設'transparnet'</td> </tr><tr> <td><code>avatarBackgroundColor</code></td> <td>String</td> <td><code>'rgba(239,108,0,0.5)'</code></td> <td>No</td> <td>輸入圖標區背景顏色字串,預設'rgba(239,108,0,0.5)'</td> </tr><tr> <td><code>avatarBorderRadius</code></td> <td>Number</td> <td><code>10</code></td> <td>No</td> <td>輸入圖標區框圓角程度數字,單位為px,預設10</td> </tr><tr> <td><code>avatarShadow</code></td> <td>Boolean</td> <td><code>true</code></td> <td>No</td> <td>輸入是否使用圖標區陰影效果數字,預設true</td> </tr><tr> <td><code>shiftVFromAvaterCenter</code></td> <td>Number</td> <td><code>20</code></td> <td>No</td> <td>輸入圖標區基於水平中線之朝下平移數字,單位為px,預設20</td> </tr><tr> <td><code>spaceHBetweenAvatarAndHeader</code></td> <td>Number</td> <td><code>20</code></td> <td>No</td> <td>輸入圖標區與右側標題區間距數字,單位為px,預設20</td> </tr><tr> <td><code>spaceVBetweenHeaderAndContent</code></td> <td>Number</td> <td><code>0</code></td> <td>No</td> <td>輸入標題區與下方內容區間距數字,單位為px,預設0</td> </tr><tr> <td><code>headerVerticalAlign</code></td> <td>String</td> <td><code>'center'</code></td> <td>No</td> <td>輸入標題區內文字垂直對齊字串,可選'top'、'center'、'bottom',預設'center'</td> </tr><tr> <td><code>headerPadding</code></td> <td>Number</td> <td><code>15</code></td> <td>No</td> <td>輸入標題區間距數字,單位為px,預設15</td> </tr><tr> <td><code>headerText</code></td> <td>String</td> <td><code>''</code></td> <td>No</td> <td>輸入標題區主要文字字串,預設''</td> </tr><tr> <td><code>headerTextColor</code></td> <td>String</td> <td><code>'#444'</code></td> <td>No</td> <td>輸入標題區主要文字顏色字串,預設'#444'</td> </tr><tr> <td><code>headerTextSize</code></td> <td>String</td> <td><code>'1.0rem'</code></td> <td>No</td> <td>輸入標題區主要文字字型大小數字,預設'1.0rem'</td> </tr><tr> <td><code>subHeaderText</code></td> <td>String</td> <td><code>''</code></td> <td>No</td> <td>輸入標題區次要文字字串,預設''</td> </tr><tr> <td><code>subHeaderTextColor</code></td> <td>String</td> <td><code>'#888'</code></td> <td>No</td> <td>輸入標題區次要文字顏色字串,預設'#888'</td> </tr><tr> <td><code>subHeaderTextSize</code></td> <td>String</td> <td><code>'0.7rem'</code></td> <td>No</td> <td>輸入標題區次要文字字型大小數字,預設'0.7rem'</td> </tr><tr> <td><code>sepLineWidth</code></td> <td>Number</td> <td><code>1</code></td> <td>No</td> <td>輸入標題區與內容區分隔線寬度數字,單位為px,預設1</td> </tr><tr> <td><code>sepLineColor</code></td> <td>String</td> <td><code>'#ddd'</code></td> <td>No</td> <td>輸入標題區與內容區分隔線顏色字串,預設'#ddd'</td> </tr><tr> <td><code>contentBorderRadius</code></td> <td>Number</td> <td><code>3</code></td> <td>No</td> <td>輸入內容區框圓角程度數字,單位為px,預設3</td> </tr><tr> <td><code>contentBackgroundColor</code></td> <td>String</td> <td><code>'white'</code></td> <td>No</td> <td>輸入內容區背景顏色字串,預設'white'</td> </tr><tr> <td><code>contentShadow</code></td> <td>Boolean</td> <td><code>true</code></td> <td>No</td> <td>輸入是否使用內容區陰影效果數字,預設true</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>avatarOuterPadding</code></td> <td>Number</td> <td><code>15</code></td> <td>No</td> <td>輸入圖標區外側間距數字,單位為px,預設15</td> </tr><tr> <td><code>avatarInnerPadding</code></td> <td>Number</td> <td><code>15</code></td> <td>No</td> <td>輸入圖標區內側間距數字,單位為px,預設15</td> </tr><tr> <td><code>avatarIcon</code></td> <td>String</td> <td><code>mdiForest</code></td> <td>No</td> <td>輸入圖標字串,預設mdiForest</td> </tr><tr> <td><code>avatarIconSize</code></td> <td>Number</td> <td><code>60</code></td> <td>No</td> <td>輸入圖標尺寸數字,單位為px,預設60</td> </tr><tr> <td><code>avatarIconColor</code></td> <td>String</td> <td><code>'white'</code></td> <td>No</td> <td>輸入圖標顏色字串,預設'white'</td> </tr><tr> <td><code>avatarBorderWidth</code></td> <td>Number</td> <td><code>1</code></td> <td>No</td> <td>輸入圖標區框線寬度數字,單位為px,預設1</td> </tr><tr> <td><code>avatarBorderColor</code></td> <td>String</td> <td><code>'transparnet'</code></td> <td>No</td> <td>輸入圖標區框線顏色字串,預設'transparnet'</td> </tr><tr> <td><code>avatarBackgroundColor</code></td> <td>String</td> <td><code>'rgba(239,108,0,0.5)'</code></td> <td>No</td> <td>輸入圖標區背景顏色字串,預設'rgba(239,108,0,0.5)'</td> </tr><tr> <td><code>avatarBorderRadius</code></td> <td>Number</td> <td><code>10</code></td> <td>No</td> <td>輸入圖標區框圓角程度數字,單位為px,預設10</td> </tr><tr> <td><code>avatarShadow</code></td> <td>Boolean</td> <td><code>true</code></td> <td>No</td> <td>輸入是否使用圖標區陰影效果數字,預設true</td> </tr><tr> <td><code>shiftVFromAvaterCenter</code></td> <td>Number</td> <td><code>20</code></td> <td>No</td> <td>輸入圖標區基於水平中線之朝下平移數字,單位為px,預設20</td> </tr><tr> <td><code>spaceHBetweenAvatarAndHeader</code></td> <td>Number</td> <td><code>20</code></td> <td>No</td> <td>輸入圖標區與右側標題區間距數字,單位為px,預設20</td> </tr><tr> <td><code>spaceVBetweenHeaderAndContent</code></td> <td>Number</td> <td><code>0</code></td> <td>No</td> <td>輸入標題區與下方內容區間距數字,單位為px,預設0</td> </tr><tr> <td><code>headerVerticalAlign</code></td> <td>String</td> <td><code>'center'</code></td> <td>No</td> <td>輸入標題區內文字垂直對齊字串,可選'top'、'center'、'bottom',預設'center'</td> </tr><tr> <td><code>headerPadding</code></td> <td>Number</td> <td><code>15</code></td> <td>No</td> <td>輸入標題區間距數字,單位為px,預設15</td> </tr><tr> <td><code>headerText</code></td> <td>String</td> <td><code>''</code></td> <td>No</td> <td>輸入標題區主要文字字串,預設''</td> </tr><tr> <td><code>headerTextColor</code></td> <td>String</td> <td><code>'#444'</code></td> <td>No</td> <td>輸入標題區主要文字顏色字串,預設'#444'</td> </tr><tr> <td><code>headerTextSize</code></td> <td>String</td> <td><code>'1.0rem'</code></td> <td>No</td> <td>輸入標題區主要文字字型大小數字,預設'1.0rem'</td> </tr><tr> <td><code>subHeaderText</code></td> <td>String</td> <td><code>''</code></td> <td>No</td> <td>輸入標題區次要文字字串,預設''</td> </tr><tr> <td><code>subHeaderTextColor</code></td> <td>String</td> <td><code>'#888'</code></td> <td>No</td> <td>輸入標題區次要文字顏色字串,預設'#888'</td> </tr><tr> <td><code>subHeaderTextSize</code></td> <td>String</td> <td><code>'0.7rem'</code></td> <td>No</td> <td>輸入標題區次要文字字型大小數字,預設'0.7rem'</td> </tr><tr> <td><code>sepLineWidth</code></td> <td>Number</td> <td><code>1</code></td> <td>No</td> <td>輸入標題區與內容區分隔線寬度數字,單位為px,預設1</td> </tr><tr> <td><code>sepLineColor</code></td> <td>String</td> <td><code>'#ddd'</code></td> <td>No</td> <td>輸入標題區與內容區分隔線顏色字串,預設'#ddd'</td> </tr><tr> <td><code>contentBorderRadius</code></td> <td>Number</td> <td><code>3</code></td> <td>No</td> <td>輸入內容區框圓角程度數字,單位為px,預設3</td> </tr><tr> <td><code>contentBackgroundColor</code></td> <td>String</td> <td><code>'white'</code></td> <td>No</td> <td>輸入內容區背景顏色字串,預設'white'</td> </tr><tr> <td><code>contentShadow</code></td> <td>Boolean</td> <td><code>true</code></td> <td>No</td> <td>輸入是否使用內容區陰影效果數字,預設true</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>