File tree 3 files changed +5
-4
lines changed
lowcoder/src/comps/queries
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " lowcoder-sdk" ,
3
- "version" : " 2.4.0-beta-1 " ,
3
+ "version" : " 2.4.0-beta-2 " ,
4
4
"type" : " module" ,
5
5
"files" : [
6
6
" src" ,
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ interface InputItem {
47
47
48
48
type InputChildrenType = Record < string , InstanceType < ContextControlType > > ;
49
49
50
- const InputsComp = class extends MultiBaseComp < InputChildrenType , ToDataType < InputChildrenType > > {
50
+ class InputsComp extends MultiBaseComp < InputChildrenType , ToDataType < InputChildrenType > > {
51
51
params : any = { } ;
52
52
inputs : InputItem [ ] = [ ] ;
53
53
Original file line number Diff line number Diff line change @@ -68,11 +68,12 @@ Navigate to the settings page and then click the plus sign **+** under the **Jav
68
68
69
69
<figure ><img src =" ../.gitbook/assets/third-party-lib-1.png " alt =" " ><figcaption ></figcaption ></figure >
70
70
71
- Create a JS query and insert code.
71
+ Create a JS query and insert code. All js libraries are imported to the ` window ` scope, thus you need to prefix any calls
72
+ with ` window. ` .
72
73
73
74
<figure ><img src =" ../.gitbook/assets/third-party-lib-2.png " alt =" " ><figcaption ></figcaption ></figure >
74
75
75
- You can obtain the same result by calling the ` cowsay.say() ` method in the value of the text component.
76
+ You can obtain the same result by calling ` window. cowsay.say()` method in the value of the text component.
76
77
77
78
<figure ><img src =" ../.gitbook/assets/third-party-lib-3.png " alt =" " ><figcaption ></figcaption ></figure >
78
79
You can’t perform that action at this time.
0 commit comments