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
Think of it as of individual group of elements. It creates stripe instance and elements object.
212
+
Think of it as of individual group of elements. It creates stripe instance and
213
+
elements object.
203
214
204
215
```js
205
-
import { StripeElements } from'vue-stripe-js'
216
+
import { StripeElements } from"vue-stripe-js"
206
217
```
207
218
208
219
### props
@@ -227,7 +238,8 @@ elementsOptions: {
227
238
228
239
### data
229
240
230
-
You can access `instance` and `elements` by adding ref to StripeElements component.
241
+
You can access `instance` and `elements` by adding ref to StripeElements
242
+
component.
231
243
232
244
```js
233
245
// StripeElements.vue exposes
@@ -240,7 +252,8 @@ You can access `instance` and `elements` by adding ref to StripeElements compone
240
252
241
253
### default scoped slot
242
254
243
-
Elegant solution for props. Really handy because you can make stripe `instance` and `elements` objects available to all children without adding extra code.
255
+
Elegant solution for props. Really handy because you can make stripe `instance`
256
+
and `elements` objects available to all children without adding extra code.
244
257
245
258
```vue
246
259
<!-- Cool, isn't it? -->
@@ -255,7 +268,7 @@ Elegant solution for props. Really handy because you can make stripe `instance`
255
268
Universal and type agnostic component. Create any element supported by Stripe.
256
269
257
270
```js
258
-
import { StripeElement } from'vue-stripe-js'
271
+
import { StripeElement } from"vue-stripe-js"
259
272
```
260
273
261
274
### props
@@ -295,7 +308,8 @@ import { StripeElement } from 'vue-stripe-js'
295
308
296
309
### options
297
310
298
-
Element options are reactive. Recommendation: don't use v-model on `StripeElement`, instead pass value via options.
311
+
Element options are reactive. Recommendation: don't use v-model on
312
+
`StripeElement`, instead pass value via options.
299
313
300
314
```js
301
315
setup() {
@@ -328,4 +342,5 @@ Following events are emitted on StripeElement
328
342
329
343
# Styles
330
344
331
-
No base style included. Main reason: overriding it isn't fun. Style as you wish via element options: [see details](https://stripe.com/docs/js/appendix/style).
345
+
No base style included. Main reason: overriding it isn't fun. Style as you wish
346
+
via element options: [see details](https://stripe.com/docs/js/appendix/style).
0 commit comments