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-applications/app-editor/visual-components/calendar-and-scheduling/calendar.md
+143-1Lines changed: 143 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -65,5 +65,147 @@ Events give you the ability to trigger further actions (with Event-Handlers).
65
65
66
66
You have the capability to engage with components via their respective methods, which can be accessed by their designated names within any segment where JavaScript is utilized. Additionally, these components can be activated through the 'Control Component' action, which is triggered in response to specific events.
67
67
68
-
<table><thead><tr><th width="247.83984375">Method Name</th><th width="446.3984375">Description</th></tr></thead><tbody><tr><td>clearDeletedEvents</td><td>Clears the data in the property toDeletedEvent</td></tr><tr><td>clearInsertedEvents</td><td>Clears the data in the property toInsertedEvent</td></tr><tr><td>clearUpdatedEvents</td><td>Clears the data in the property toUpdatedEvent</td></tr><tr><td>setResources</td><td>Set the data for the property Resources</td></tr><tr><td>clearResources</td><td>Clear the data for the property Resources</td></tr><tr><td>resetResources</td><td>Reset the data for the property Resources</td></tr><tr><td>setDayGridDayView</td><td>Switches the Calendar view to 'Day Grid Day', displaying a Single day in a grid layout that includes all events for that day.</td></tr><tr><td>setDayGridWeeklyView</td><td>Switches the Calendar view to 'Day Grid Week', where the days of the week are displayed as Columns and Events are laid out in Grid form.</td></tr><tr><td>setDayGridMonthlyView</td><td>Switches the Calendar view to 'Day Grid Month', presenting the entire month in a grid with events displayed on their respective days.</td></tr><tr><td>setListWeekView</td><td>Switches the Calendar view to 'List Week', which provides a list-style overview of all the events happening throughout the week.</td></tr><tr><td>setMultiMonthYearView</td><td>Switches the Calendar view to 'Multi Month Year', showing multiple months at once, allowing for long-term planning and overview.</td></tr><tr><td>setResourceTimeGridDayView</td><td>Switches the Calendar view to 'Resource Time Grid Day', which displays resources along the vertical axis and the hours of the Single day along the horizontal axis.</td></tr><tr><td>setResourceTimelineDayView</td><td>Switches the Calendar view to 'Resource Timeline Day', showing Events against a timeline for a Single day, segmented by Resources.</td></tr><tr><td>setTimeGridDayView</td><td>Switches the Calendar view to 'Time Grid Day', which shows a detailed hourly schedule for a Single day.</td></tr><tr><td>setTimeGridWeekView</td><td>Switches the Calendar view to 'Day Grid Week', where the days of the week are displayed as Columns and Events are laid out in Grid form.</td></tr></tbody></table>
68
+
**setResources() :** 
69
69
70
+
calendar1.setResources() method sets the Calendar's Resources property. This method takes an Array of Object/s as an argument.
71
+
72
+
```javascript
73
+
calendar1.setResources(
74
+
[
75
+
{
76
+
"id":"1",
77
+
"title":"South Auditorium"
78
+
},
79
+
{
80
+
"id":"2",
81
+
"title":"West Auditorium",
82
+
"eventColor":"gree"
83
+
},
84
+
{
85
+
"id":"3",
86
+
"title":"HQ Auditorium",
87
+
"children": [
88
+
{
89
+
"id":"r1",
90
+
"title":"Room 1"
91
+
},
92
+
{
93
+
"id":"r2",
94
+
"title":"Room 2"
95
+
}
96
+
]
97
+
}
98
+
]);
99
+
```
100
+
101
+
**clearResources() :** 
102
+
103
+
calendar1.clearResources() method clears the Calendar's Resources property, and removes all the Resources.
104
+
105
+
```javascript
106
+
calendar1.clearResources();
107
+
```
108
+
109
+
**resetResources() :** 
110
+
111
+
calendar1.resetResources() method resets the Calendar's Resources property to the default data.
112
+
113
+
```javascript
114
+
calendar1.clearResources();
115
+
```
116
+
117
+
**clearInsertedEvents() :** 
118
+
119
+
calendar1.clearInsertedEvents() method clears any newly inserted event on the Calendar component. It clears the value of the **toInsertedEvents** property.
120
+
121
+
```javascript
122
+
calendar1.clearInsertedEvents();
123
+
```
124
+
125
+
**clearUpdatedEvents() :** 
126
+
127
+
calendar1.clearUpdatedEvents() method clears any updated details on the event of the Calendar component. It clears the value of the **toUpdatedEvents** property.
128
+
129
+
```javascript
130
+
calendar1.clearUpdatedEvents();
131
+
```
132
+
133
+
**clearDeletedEvents() :**
134
+
135
+
calendar1.clearDeletedEvents() method clears any deleted event from the Calendar component. It clears the value of the **toDeletedEvents** property.
136
+
137
+
```javascript
138
+
calendar1.clearDeletedEvents();
139
+
```
140
+
141
+
**setDayGridDayView() :** 
142
+
143
+
calendar1.setDayGridDayView() method sets the Calendar view where list of the current Day's Events is shown. It switches the Calendar view to 'Day Grid Day', displaying a Single day in a grid layout that includes all events for that day.
144
+
145
+
```javascript
146
+
calendar1.setDayGridDayView();
147
+
```
148
+
149
+
**setDayGridMonthView() :**
150
+
151
+
calendar1.setDayGridMonthView() method sets the Calendar view where current Month is shown. It switches the Calendar view to 'Day Grid Month', presenting the entire month in a grid with events displayed on their respective days.
152
+
153
+
```javascript
154
+
calendar1.setDayGridMonthView();
155
+
```
156
+
157
+
**setDayGridWeekView() :**
158
+
159
+
calendar1.setDayGridWeekView() method sets the Calendar view where list of the current Week's Events is shown. It switches the Calendar view to 'Day Grid Week', where the days of the week are displayed as Columns and Events are laid out in Grid form.
160
+
161
+
```javascript
162
+
calendar1.setDayGridWeekView();
163
+
```
164
+
165
+
**setListWeekView() :**
166
+
167
+
calendar1.setListWeekView() method sets the Calendar view where only those days of the Week are shown which have some Events. It switches the Calendar view to 'List Week', which provides a list-style overview of all the events happening throughout the week.
168
+
169
+
```javascript
170
+
calendar1.setListWeekView();
171
+
```
172
+
173
+
**setMultiMonthYearView() :** 
174
+
175
+
calendar1.setMultiMonthYearView() method sets the Calendar view where Full current year is shown on the Calendar component with all the 12 months. It switches the Calendar view to 'Multi Month Year', showing multiple months at once, allowing for long-term planning and overview.
176
+
177
+
```javascript
178
+
calendar1.setMultiMonthYearView();
179
+
```
180
+
181
+
**setTimeGridDayView() :**
182
+
183
+
calendar1.setTimeGridDayView() method sets the Calendar view where current Day is shown with full 24 hours timeline. It switches the Calendar view to 'Time Grid Day', which shows a detailed hourly schedule for a Single day.
184
+
185
+
```javascript
186
+
calendar1.setTimeGridDayView();
187
+
```
188
+
189
+
**setTimeGridWeekView() :**
190
+
191
+
calendar1.setTimeGridWeekView() method sets the Calendar view where current Week is shown with full 7 days and 24 hours timeline. It switches the Calendar view to 'Day Grid Week', where the days of the week are displayed as Columns and Events are laid out in Grid form.
192
+
193
+
```javascript
194
+
calendar1.setTimeGridWeekView();
195
+
```
196
+
197
+
**setResourceTimeGridDayView() :**
198
+
199
+
calendar1.setResourceTimeGridDayView() is yet to be implemented. It switches the Calendar view to 'Resource Time Grid Day', which displays resources along the vertical axis and the hours of the Single day along the horizontal axis.
200
+
201
+
```javascript
202
+
calendar1.setResourceTimeGridDayView();
203
+
```
204
+
205
+
**setResourceTimelineDayView() :**
206
+
207
+
calendar1.setResourceTimelineDayView() is yet to be implemented. It switches the Calendar view to 'Resource Timeline Day', showing Events against a timeline for a Single day, segmented by Resources.
Copy file name to clipboardExpand all lines: docs/build-applications/app-editor/visual-components/dashboard-and-reporting/google-maps.md
+38Lines changed: 38 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -142,3 +142,41 @@ To display only the Map and use the JavaScript API, "Map Embed API" and "Maps Ja
142
142
Now you can create and see your Google Maps API Key. It is suggested that you limit the Traffic by a Domain or IP Range.
143
143
144
144
<figure><imgsrc="../../../../.gitbook/assets/Google Maps APIs API Key.png"alt=""><figcaption></figcaption></figure>
145
+
146
+
#### Properties of the Google Map <ahref="#properties-of-the-table"id="properties-of-the-table"></a>
147
+
148
+
These properties are accessible in \{{ \}} notations, as well as in JavaScript Queries.
149
+
150
+
<table><thead><tr><thwidth="176.38671875">Property Name</th><thwidth="114.9921875">Type</th><th>Description</th></tr></thead><tbody><tr><td>data</td><td>Array</td><td>Returns an Array containing the data fed to the chartsGeooMap component</td></tr><tr><td>lastInteractionData</td><td>Object</td><td>Returns an Object containing the details about the Location point, which a User interacted most lately </td></tr><tr><td>selectedPoints</td><td>Array</td><td></td></tr><tr><td>title</td><td>String</td><td>Returns title of the Chart</td></tr></tbody></table>
151
+
152
+
#### Events <ahref="#events"id="events"></a>
153
+
154
+
Events give you the ability to trigger further actions (with Event-Handlers).
155
+
156
+
<table><thead><tr><thwidth="201.359375">Event Name</th><thwidth="495.39453125">Description</th></tr></thead><tbody><tr><td>MapReady</td><td>MapReady event gets triggered when Map is completley loaded, and is ready for the User interaction.</td></tr><tr><td>Zoom Level Change</td><td>This event gets triggered when Zoom level of the Map is changed.</td></tr><tr><td>Center Position Change</td><td>This event gets triggered when Map is dragged and it's center position changes OR when default lat, lon are changed.</td></tr></tbody></table>
157
+
158
+
#### Methods <ahref="#methods"id="methods"></a>
159
+
160
+
You have the capability to engage with components via their respective methods, which can be accessed by their designated names within any segment where JavaScript is utilized. Additionally, these components can be activated through the 'Control Component' action, which is triggered in response to specific events.
161
+
162
+
**getMapCenterPosition() :** 
163
+
164
+
chartsGeoMap1.getMapCenterPosition() method returns an object that contains the center position of the Geo Map i.e, lat, long.
165
+
166
+
```javascript
167
+
chartsGeoMap1.getMapCenterPosition();
168
+
```
169
+
170
+
**getMapInstance() :** 
171
+
172
+
```javascript
173
+
chartsGeoMap1.getMapInstance();
174
+
```
175
+
176
+
**getMapZoomLevel() :** 
177
+
178
+
chartsGeoMap1.getMapZoomLevel() method returns the current Zoom level on the Geo Map.
Copy file name to clipboardExpand all lines: docs/build-applications/app-editor/visual-components/data-collection-and-forms/input-field-types.md
+72-1Lines changed: 72 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,11 +45,82 @@ Events give you the ability to trigger further actions (with Event-Handlers).
45
45
46
46
You have the capability to engage with components via their respective methods, which can be accessed by their designated names within any segment where JavaScript is utilized. Additionally, these components can be activated through the 'Control Component' action, which is triggered in response to specific events.
47
47
48
-
<table><thead><tr><th width="172.3359375">Method Name</th><th width="479.24609375">Description</th></tr></thead><tbody><tr><td>setValue</td><td>Set the data/value of the Value property</td></tr><tr><td>setDefaultValue</td><td>Set the data/value of the Default Value property</td></tr><tr><td>setRangeText</td><td>Set the minimum and maximum length of the characters in input type component</td></tr><tr><td>setSelectionRange</td><td>Set the data/value of the Selection Range property</td></tr><tr><td>select</td><td>Set the Text type of the Input type component</td></tr><tr><td>clearValue</td><td>Clear the data/value of the Value property</td></tr><tr><td>clearDefaultValue</td><td>Clear the data/value of the Default Value property</td></tr><tr><td>resetDefaultValue</td><td>Reset the data/value of the Default Value property</td></tr><tr><td>resetValue</td><td>Reset the data/value of the Value property</td></tr><tr><td>click</td><td>Set what happens on Click event on the Input type component</td></tr></tbody></table>
48
+
**setValue() :** 
49
49
50
+
input1.setValue() method sets the Input's Value property, which gets shown in the Input component.
50
51
52
+
```javascript
53
+
input1.setValue("John Nick");
54
+
```
51
55
56
+
**clearValue() :** 
52
57
58
+
input1.clearValue() clears the Input's Value property and empties the value from the Input component.
53
59
60
+
```javascript
61
+
input1.clearValue();
62
+
```
54
63
64
+
**resetValue() :** 
55
65
66
+
input1.resetValue() method resets the Input's value property to the default value of the Input component.
67
+
68
+
```javascript
69
+
input1.resetValue();
70
+
```
71
+
72
+
**setDefaultValue() :** 
73
+
74
+
input1.setDefaultValue() method sets the Input's Default value, which gets shown in the Input component as default.
75
+
76
+
```javascript
77
+
input1.setDefaultValue("John Nick");
78
+
```
79
+
80
+
**clearDefaultValue() :** 
81
+
82
+
input1.clearDefaultValue() clears the Input's Default value and empties the value from the Input component.
83
+
84
+
```javascript
85
+
input1.clearDefaultValue();
86
+
```
87
+
88
+
**resetDefaultValue() :** 
89
+
90
+
input1.resetDefaultValue() method resets the Input's Default value to the default value of the Input component.
91
+
92
+
```javascript
93
+
input1.resetDefaultValue();
94
+
```
95
+
96
+
**setRangeText() :** 
97
+
98
+
input1.setRangeText() method sets the minimum and maximum value of the inout component. Value of the Input component should lie between the minimum and maximum limits.
99
+
100
+
```javascript
101
+
input1.setRangeText(3,6);
102
+
```
103
+
104
+
**setSelectionRange() :** 
105
+
106
+
input1.setSelectionRange() sets the Selection Range of the Input component.
107
+
108
+
```javascript
109
+
input1.setSelectionRange();
110
+
```
111
+
112
+
**click() :** 
113
+
114
+
input1.click() method sets what happens when User clicks on the Input component.
115
+
116
+
```javascript
117
+
input1.click();
118
+
```
119
+
120
+
**select() :** 
121
+
122
+
input1.select() method selects the text type of the Input component.
Copy file name to clipboardExpand all lines: docs/build-applications/app-editor/visual-components/data-collection-and-forms/json-schema-form.md
+27-1Lines changed: 27 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,4 +41,30 @@ Events give you the ability to trigger further actions (with Event-Handlers).
41
41
42
42
You have the capability to engage with components via their respective methods, which can be accessed by their designated names within any segment where JavaScript is utilized. Additionally, these components can be activated through the 'Control Component' action, which is triggered in response to specific events.
43
43
44
-
<table><thead><tr><th>Method Name</th><thwidth="426.51953125">Description</th></tr></thead><tbody><tr><td>setData</td><td>Set the data of the property Data</td></tr><tr><td>clear</td><td>Clear the data of the property Data</td></tr><tr><td>reset</td><td>ReSet the data of the property Data</td></tr></tbody></table>
44
+
**setData() :** 
45
+
46
+
jsonSchemaForm1.setData() method sets the json Schema Form's data property, which fills up all the components that are present/added into the json Schema Form component. This method takes Object as an argument. For example, for a json Schema Form having an input field, a number input field and a Date component, following code will set the Data of the json Schema Form component.
47
+
48
+
```javascript
49
+
jsonSchemaForm1.setData({
50
+
name:"Alison",
51
+
phone:"+44 20 7123 4567",
52
+
birthday:"1999-09-09"
53
+
});
54
+
```
55
+
56
+
**clearData() :** 
57
+
58
+
jsonSchemaForm1.clearData() clears the json Schema Form's Data property and empties the values from the json Schema Form component.
59
+
60
+
```javascript
61
+
jsonSchemaForm1.clearData();
62
+
```
63
+
64
+
**resetData() :** 
65
+
66
+
jsonSchemaForm1.resetData() method resets the json Schema Form's Data property to the default data of the json Schema Form component.
Copy file name to clipboardExpand all lines: docs/build-applications/app-editor/visual-components/document-and-file-management/file-upload.md
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,6 @@ You can input an array of strings to restrict the types of the files to be uploa
18
18
19
19
For example, when the value of file type is `[".pdf", ".mp4", "image/*"]`, you can upload PDF files, MP4 files, and any type of image files.
20
20
21
-
22
-
23
21
### Upload type
24
22
25
23
You can decide whether to upload a single file, multiple files, or a directory.
@@ -123,5 +121,10 @@ Events give you the ability to trigger further actions (with Event-Handlers)
123
121
124
122
You have the capability to engage with components via their respective methods, which can be accessed by their designated names within any segment where JavaScript is utilized. Additionally, these components can be activated through the 'Control Component' action, which is triggered in response to specific events
125
123
126
-
<table><thead><tr><th>Method Name</th><thwidth="414.25">Description</th></tr></thead><tbody><tr><td>clearValue</td><td>Clears all the currently uploaded files. It deletes all the uploaded files.</td></tr></tbody></table>
124
+
**clearValue() :** 
127
125
126
+
file1.clearValue() clears the File component's value property and removes the uploaded file from the File component.
Copy file name to clipboardExpand all lines: docs/build-applications/app-editor/visual-components/multimedia-and-animation/image.md
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -60,8 +60,6 @@ Events give you the ability to trigger further actions (with Event-Handlers).
60
60
61
61
<table><thead><tr><thwidth="152.5625">Event Name</th><thwidth="495.39453125">Description</th></tr></thead><tbody><tr><td>Click</td><td>Triggers when a User "clicks" on the Image</td></tr></tbody></table>
0 commit comments