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
This documentation evolves along with the development of the [Display Controller API](./docs/API.md#display-controller-api). This means that you can find options or features that are pretty new and they may not be totally stable. To mark those new things we use the following `badges`:
22
+
This documentation evolves along with the development of the [Display Controller API](docs/API.md#display-controller-api). This means that you can find options or features that are pretty new and they may not be totally stable. To mark those new things we use the following `badges`:
23
23
24
24
-![draft] : documentation is still "Work in progress" (it concerns only the documentation)
25
25
-![beta] : early option/feature, its usage may change
@@ -36,7 +36,7 @@ Features:
36
36
- Access to content information
37
37
- Call functions
38
38
39
-
Info: If you use `React` on your website, we recommend you to follow the [`React integration instructions`](./docs/REACT_INTEGRATION.md) instead. It allows you to manipulate your Display as a Component and keep the exact same features.
39
+
Info: If you use `React` on your website, we recommend you to follow the [`React integration instructions`](docs/REACT_INTEGRATION.md) instead. It allows you to manipulate your Display as a Component and keep the exact same features.
40
40
41
41
## Installation
42
42
@@ -48,11 +48,11 @@ npm i @hubstairs/display-js
48
48
yarn add @hubstairs/display-js
49
49
```
50
50
51
-
Info: If you do not use `npm` as a package manager, you can follow the [script integration instructions](./docs/ADVANCED_INTEGRATION.md#using-a-cdn)
51
+
Info: If you do not use `npm` as a package manager, you can follow the [script integration instructions](docs/ADVANCED_INTEGRATION.md#using-a-cdn)
52
52
53
53
## Getting started
54
54
55
-
After having set your Display up on [Hubstairs™](https://app.hubstairs.com) you will received your `display id` and your access `token`. Those information are needed to instantiate your Display. Pass the parent `DOM element` to the [Display constructor](./docs/API#constructor).
55
+
After having set your Display up on [Hubstairs™](https://app.hubstairs.com) you will received your `display id` and your access `token`. Those information are needed to instantiate your Display. Pass the parent `DOM element` to the [Display constructor](docs/API#constructor).
Copy file name to clipboardExpand all lines: docs/ADVANCED_INTEGRATION.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
Already have a Display on the page? Pass the iframe to the Display constructor and you are ready to go.
6
6
7
-
> ⚠ This mode is incompatible with [`responsive` option](./API.md#constructor)
7
+
> ⚠ This mode is incompatible with [`responsive` option](API.md#constructor)
8
8
9
9
```html
10
10
<iframe
@@ -28,7 +28,7 @@ Already have a Display on the page? Pass the iframe to the Display constructor a
28
28
29
29
## Automatically with HTML attributes
30
30
31
-
When the library loads, it will scan your page for elements with Hubstairs attributes. Each element must have at least a `data-hubstairs-displayid` or `data-hubstairs-url` attribute to create the Display automatically. You can also add attributes for any of the [Display constructor options](./API.md#constructor) prefixed with `data-hubstairs`.
31
+
When the library loads, it will scan your page for elements with Hubstairs attributes. Each element must have at least a `data-hubstairs-displayid` or `data-hubstairs-url` attribute to create the Display automatically. You can also add attributes for any of the [Display constructor options](API.md#constructor) prefixed with `data-hubstairs`.
0 commit comments