docs: widget documentation update

This commit is contained in:
woothu
2018-10-15 14:09:30 +02:00
parent 143c2d9104
commit f7a2634748
4 changed files with 42 additions and 6 deletions
+3 -5
View File
@@ -1,5 +1,5 @@
### Widget04
This widget style depends on type property which defines which social widget background color and icon will be used (i.e facebook, twitter, linkedin, google-plus). Inside component there is slot for placing data chart.
This widget style depends on type property which defines which social widget background color and icon will be used (i.e facebook, twitter, linkedin, google-plus). Inside component there is default slot for placing data chart.
prop | default
--- | ---
@@ -11,7 +11,5 @@ leftFooter | `'leftFooter:string'`
#### Example:
> <widget04 type="linkedin" rightHeader="500+" rightFooter="contracts" leftHeader="292" leftFooter="feeds">
> <line-chart1 chartId="linkedIn" :data='[15, 22, 34, 46, 58, 70, 68, 58, 52, 60, 64, 71]'
> label='Contracts' style='height:100px' backgroundColor='rgba(255,255,255,.1)'/>
> </widget04>
> <widget04 type="linkedin" rightHeader="500+" rightFooter="contracts"
> leftHeader="292" leftFooter="feeds"/>