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
Copy file name to clipboardExpand all lines: README.md
+41-2Lines changed: 41 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,10 @@
28
28
- ♿ Accessible (a11y) – Built-in ARIA support for screen readers
29
29
- 🛡 Written in TypeScript with type safety
30
30
31
-
## ⚡ Installation & Quick Start
31
+
32
+
## React
33
+
34
+
### ⚡ Installation & Quick Start
32
35
Install the library
33
36
34
37
```sh
@@ -47,11 +50,47 @@ function YourComponent() {
47
50
<CioAutocomplete
48
51
apiKey="key_M57QS8SMPdLdLx4x"
49
52
onSubmit={(e) => {console.log(e)}}
50
-
/>
51
53
</div>
52
54
);
53
55
```
54
56
57
+
## Shopify
58
+
59
+
### ⚡ Installation & Quick Start
60
+
61
+
The Constructor autocomplete component is available as part of the [Constructor.io Shopify App](https://apps.shopify.com/constructor-connect)
62
+
63
+
After installing the app, you can use the Constructor autocomplete component by clicking 'Add Section' in your theme editor and adding the Constructor autocomplete liquid component
For more in depth instructions, check out the [Shopify documentation](https://docs.constructor.com/docs/integrating-with-constructor-platform-connectors-frontend-connectors-shopify-ui).
68
+
69
+
## Bundle (Vanilla JS)
70
+
This is a framework agnostic method that can be used in any JavaScript project. The CioAutocomplete function provides a simple interface to inject an entire Autocomplete UI into the provided selector. In addition to Autocomplete component props, this function also accepts a selector and includeCSS.
0 commit comments