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
**Default value**: dependent on component. [View default values for all components](https://github.com/Shopify/buy-button-js/blob/master/src/defaults/components.js)
71
+
**Default value**: dependent on component. [View default values for all components](https://github.com/Shopify/buy-button-js/blob/main/src/defaults/components.js)
72
72
73
73
### `contents`
74
74
@@ -83,7 +83,7 @@ var contents = {
83
83
```
84
84
85
85
**Type**: object
86
-
**Default value**: dependent on component. [View component defaults](https://github.com/Shopify/buy-button-js/blob/master/src/defaults/components.js)
86
+
**Default value**: dependent on component. [View component defaults](https://github.com/Shopify/buy-button-js/blob/main/src/defaults/components.js)
87
87
88
88
### `text`
89
89
@@ -99,7 +99,7 @@ var text = {
99
99
100
100
**Type**: object
101
101
102
-
**Default value**: dependent on component. [View component defaults](https://github.com/Shopify/buy-button-js/blob/master/src/defaults/components.js)
102
+
**Default value**: dependent on component. [View component defaults](https://github.com/Shopify/buy-button-js/blob/main/src/defaults/components.js)
103
103
104
104
### `styles`
105
105
@@ -118,7 +118,7 @@ var styles = {
118
118
119
119
**Type**: object
120
120
121
-
**Default value**: dependent on component. [View component defaults](https://github.com/Shopify/buy-button-js/blob/master/src/defaults/components.js)
121
+
**Default value**: dependent on component. [View component defaults](https://github.com/Shopify/buy-button-js/blob/main/src/defaults/components.js)
122
122
123
123
### `events`
124
124
@@ -419,7 +419,7 @@ Determines class names added to elements within components. It is unlikely you w
419
419
420
420
**Type**: Object
421
421
422
-
**Default values**: dependent on component. [View defaults](https://github.com/Shopify/buy-button-js/blob/master/src/defaults/components.js).
422
+
**Default values**: dependent on component. [View defaults](https://github.com/Shopify/buy-button-js/blob/main/src/defaults/components.js).
423
423
424
424
### `templates`
425
425
Determines the HTML for each element in a component. Templates are specified as strings using the [Mustache](https://github.com/janl/mustache.js/) templating engine, which implements the [Mustache](https://mustache.github.io/) syntax.
BuyButton.js is a highly customizable UI library for adding ecommerce functionality to any website. It allows you to create interactive UI components such as product listings and shopping carts with minimal configuration, while allowing you to easily customize the appearance and behaviour of the components.
7
6
It uses the [JS Buy SDK](http://shopify.github.io/js-buy-sdk/) to connect to your Shopify store, giving you access to your products and collections.
@@ -53,4 +52,4 @@ yarn run docs
53
52
```
54
53
Doc server will run at http://localhost:4000/buy-button-js/
55
54
Docs source files are located in /docs.
56
-
Docs are automatically deployed to gh-pages from master.
55
+
Docs are automatically deployed to gh-pages from main.
0 commit comments