WPanelBulge

Description:

Props

Name Type Default value Required? Description
headerBorderRadius Number 0 No 輸入標題區圓角寬度,單位為px,預設0
paddingStyle Object {v:0,h:20} No 輸入內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:0,h:20}
headerText String '' No 輸入標題文字字串,預設''
headerTextColor String 'white' No 輸入標題文字顏色字串,預設'white'
headerBackgroundColor String 'teal lighten-2' No 輸入標題背景顏色字串,預設'teal lighten-2'
headerShadow Boolean true No 輸入標題區是否使用陰影模式,預設true
contentBorderRadius Number 0 No 輸入內容區圓角寬度,單位為px,預設0
contentPadding Number|String 20 No 輸入內容區邊寬長度數字或字串,若輸入數字則單位為px,預設20,若輸入字串則需自己添加單位
contentBackgroundColor String 'white' No 輸入內容區塊背景顏色字串,預設'white'
contentShadow Boolean true No 輸入內容區是否使用陰影模式,預設true

Props

Name Type Default value Required? Description
headerBorderRadius Number 0 No 輸入標題區圓角寬度,單位為px,預設0
paddingStyle Object {v:0,h:20} No 輸入內寬距離設定物件,可用鍵值為v、h、left、right、top、bottom,v代表同時設定top與bottom,h代表設定left與right,若有重複設定時後面鍵值會覆蓋前面,各鍵值為寬度數字,單位為px,預設{v:0,h:20}
headerText String '' No 輸入標題文字字串,預設''
headerTextColor String 'white' No 輸入標題文字顏色字串,預設'white'
headerBackgroundColor String 'teal lighten-2' No 輸入標題背景顏色字串,預設'teal lighten-2'
headerShadow Boolean true No 輸入標題區是否使用陰影模式,預設true
contentBorderRadius Number 0 No 輸入內容區圓角寬度,單位為px,預設0
contentPadding Number|String 20 No 輸入內容區邊寬長度數字或字串,若輸入數字則單位為px,預設20,若輸入字串則需自己添加單位
contentBackgroundColor String 'white' No 輸入內容區塊背景顏色字串,預設'white'
contentShadow Boolean true No 輸入內容區是否使用陰影模式,預設true