Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit 841f591

Browse files
Update README.md
1 parent 62fdb04 commit 841f591

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,11 @@ The `url` is the only property required for all networks.
8787

8888
###### General properties
8989

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.       |
9395

9496
###### Network properties
9597

@@ -103,13 +105,6 @@ Name | Data Type | Description
103105
| `twitter-user` | String | Twitter user (Twitter only). |
104106
| `media` | String | Url to a media (Pinterest, VK, Weibo, and Wordpress). |
105107

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-
113108
###### Networks
114109

115110
| Network | `url` | `title` | `description` | Extras/Comments |
@@ -208,6 +203,13 @@ modules: [
208203
]
209204
```
210205

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+
211213
## Feature request
212214
Feel free to open an issue to ask for a new social network support.
213215

0 commit comments

Comments
 (0)