@@ -87,9 +87,11 @@ The `url` is the only property required for all networks.
87
87
88
88
###### General properties
89
89
90
- Name | Data Type | Description
91
- -------------- | ---------- | -----------
92
- ` tag ` | String | HTML tag used to render the network component. Default to "a" tag.
90
+ | Name | Data Type | Description |
91
+ | ----------------| -----------| -------------------------------------------------------------------|
92
+ | ` tag ` | String | HTML tag used to render the network component. Default to "a" tag. |
93
+ | ` popup.width ` | Number | Custom width of the popup window. Default to 626px. |
94
+ | ` popup.height ` | Number | Custom height of the popup window. Default to 426px. |
93
95
94
96
###### Network properties
95
97
@@ -103,13 +105,6 @@ Name | Data Type | Description
103
105
| ` twitter-user ` | String | Twitter user (Twitter only). |
104
106
| ` media ` | String | Url to a media (Pinterest, VK, Weibo, and Wordpress). |
105
107
106
- ###### Popup properties
107
-
108
- | Prop | Type | Description |
109
- | ----------------| --------| ------------------------------------------------------------|
110
- | ` popup.width ` | Number | Custom width of the popup window. |
111
- | ` popup.height ` | Number | Custom height of the popup window. |
112
-
113
108
###### Networks
114
109
115
110
| Network | ` url ` | ` title ` | ` description ` | Extras/Comments |
@@ -208,6 +203,13 @@ modules: [
208
203
]
209
204
```
210
205
206
+ ## Customizing the popup window size
207
+
208
+ If needed, you can set a custom width and height for the popup window:
209
+ ``` html
210
+ <ShareNetwork :popup =" {width: 400, height: 200}" />
211
+ ```
212
+
211
213
## Feature request
212
214
Feel free to open an issue to ask for a new social network support.
213
215
0 commit comments