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: docs/build-apps/write-javascript/use-third-party-libraries.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -65,25 +65,25 @@ Now let's take **cowsay** as an example and import it on app-level and workspace
65
65
66
66
### Import on App-level
67
67
68
-
Navigate to the left sidebar, click <imgsrc="../.gitbook/assets/image (1).png"alt=""data-size="line"> > **Other** > **Scripts and style** > **Add a library**. Then paste the **cowsay** link here.
68
+
Navigate to the left sidebar, click <imgsrc="../../.gitbook/assets/image (1).png"alt=""data-size="line"> > **Other** > **Scripts and style** > **Add a library**. Then paste the **cowsay** link here.
69
69
70
-
<figure><imgsrc="../.gitbook/assets/Add a library (2).png"alt=""><figcaption></figcaption></figure>
70
+
<figure><imgsrc="../../.gitbook/assets/Add a library (2).png"alt=""><figcaption></figcaption></figure>
71
71
72
72
Now you can write code in **JS query** to test its usage with `cowsay.say`:
73
73
74
-
<figure><imgsrc="../.gitbook/assets/write code in JS query (2).png"alt=""><figcaption></figcaption></figure>
74
+
<figure><imgsrc="../../.gitbook/assets/write code in JS query (2).png"alt=""><figcaption></figcaption></figure>
75
75
76
76
or in component **Properties**:
77
77
78
-
<figure><imgsrc="../.gitbook/assets/or in Properties (2).png"alt=""><figcaption></figcaption></figure>
78
+
<figure><imgsrc="../../.gitbook/assets/or in Properties (2).png"alt=""><figcaption></figcaption></figure>
79
79
80
80
And since you have set up cowsay just for **Openblocks's new application 1,** you can not use cowsay in another app.
81
81
82
-
<figure><imgsrc="../.gitbook/assets/in another app (1).png"alt=""><figcaption></figcaption></figure>
82
+
<figure><imgsrc="../../.gitbook/assets/in another app (1).png"alt=""><figcaption></figcaption></figure>
83
83
84
84
### Import on Workspace-level libraries
85
85
86
86
Navigate to **Workspace settings** > **Advanced** > **JavaScript library** > **Add a library**. Then paste the **cowsay** link here and click **Save**. Now you can use **cowsay** library **** in any app of your workspace.\
87
-
.png>)
87
+
.png>)
88
88
89
-
<figure><imgsrc="../.gitbook/assets/Import on Workspace-level libraries-advanced.png"alt=""><figcaption></figcaption></figure>
89
+
<figure><imgsrc="../../.gitbook/assets/Import on Workspace-level libraries-advanced.png"alt=""><figcaption></figcaption></figure>
0 commit comments