@plattar/plattar-ar-adapter 1.135.2 → 1.138.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -30,39 +30,6 @@ https://cdn.jsdelivr.net/npm/@plattar/plattar-ar-adapter/build/es2019/plattar-ar
30
30
  npm install @plattar/plattar-ar-adapter
31
31
  ```
32
32
 
33
- ### _Examples_
33
+ ### _Documentation and Examples_
34
34
 
35
- - Launch AR for Plattar Products & Variations
36
-
37
- ```typescript
38
- import {ProductAR} from "@plattar/plattar-ar-adapter";
39
-
40
- // grab your product/variation ID from the Plattar CMS
41
- const productID:string = "{YOUR_PRODUCT_ID}";
42
- const variationID:string = "{YOUR_VARIATION_ID}";
43
-
44
- const webAR:ProductAR = new ProductAR(productID, variationID);
45
-
46
- webAR.init().then((ar:ProductAR) => {
47
- ar.start();
48
- }).catch((err) => {
49
- console.error("AR Not Available");
50
- });
51
- ```
52
-
53
- - Launch AR for Plattar Scenes
54
-
55
- ```typescript
56
- import {SceneAR} from "@plattar/plattar-ar-adapter";
57
-
58
- // grab your scene ID from the Plattar CMS
59
- const sceneID:string = "{YOUR_SCENE_ID}";
60
-
61
- const webAR:SceneAR = new SceneAR(sceneID);
62
-
63
- webAR.init().then((ar:SceneAR) => {
64
- ar.start();
65
- }).catch((err) => {
66
- console.error("AR Not Available");
67
- });
68
- ```
35
+ - Visit [Documentation](https://plattar.github.io/plattar-ar-adapter) page for usage, guides and code examples