You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`windowFeatures` | `object` | Pass options to `window.open()`. [Requested features of the new window.](https://developer.mozilla.org/en-US/docs/Web/API/Window/open#window_features) | `{ width: 600, height: 700, }`
2222
+
`shareOptions` | `object` | Your share link parameters: <br /> **domain** – the mastodon domain <br /> **url** – the URL you want to share <br /> **text** – your text <br /> | `{}`
2223
+
`useNativeBehavior` | `boolean` | Use native link behavior instead of `window.open()` or not | `false`
2224
+
2225
+
**Events**
2226
+
2227
+
| Event name | Usage |
2228
+
| ------ | ------ |
2229
+
`popup-open` | `window.open()` has been opened |
2230
+
`popup-close` | `window.open()` has been closed |
2231
+
`popup-block` | `window.open()` has been blocked |
2232
+
`popup-focus` | `window.open()` has been focused |
`windowFeatures` | `object` | Pass options to `window.open()`. [Requested features of the new window.](https://developer.mozilla.org/en-US/docs/Web/API/Window/open#window_features) | `{ width: 600, height: 700, }`
70
+
`shareOptions` | `object` | Your share link parameters: <br /> **domain** – the mastodon domain <br /> **url** – the URL you want to share <br /> **text** – your text <br /> | `{}`
71
+
`useNativeBehavior` | `boolean` | Use native link behavior instead of `window.open()` or not | `false`
72
+
73
+
## Events
74
+
75
+
| Event name | Usage |
76
+
| ------ | ------ |
77
+
`popup-open` | `window.open()` has been opened |
78
+
`popup-close` | `window.open()` has been closed |
79
+
`popup-block` | `window.open()` has been blocked |
80
+
`popup-focus` | `window.open()` has been focused |
0 commit comments