Repository navigation
API
Massimo Bernava edited this page Jun 15, 2021
·
12 revisions
| Function | Client | Server |
|---|---|---|
| console(string) | X | X |
| number clock() | X | X |
| boolean fileExist(filepath) | X | X |
| readFile(filepath,callback) | X | X |
| writeFile(filepath,data) | X | X |
| string document() | X | X |
| table dir(path) | X | X |
| boolean isdir(path) | X | |
| string basename(path) | X | |
| node getNode(id) | X | |
| name getName(id) | X | |
| login(username,password,script) | X | |
| tableloadConfig() | X | TODO |
| saveConfig(table) | X | TODO |
| setConfig() | TODO | TODO |
| platform getPlatform() | X | |
| getUsers() | TODO | |
| timer createTimer(millis,callback) | X | X |
| startTimer(timer) | X | X |
| stopTimer(timer) | X | X |
| system(cmd) | X | |
| reboot() | X | |
| sendmail(to, from, cc, subject, body) | X |
| Function | Client | Server |
|---|
| Function | Client | Server |
|---|---|---|
| newLabel(id,txt,font,font_size,font_color,back_color,align,x,y,w,h) | X | |
| newTextField(id,txt,font,font_size,font_color,back_color,align,x,y,w,h,callback) | X | |
| newCheckbox(id,mark_color,bsck_color,box_type,x,y,w,h,callback) | X | |
| newButton(id,txt,font,font_size,font_color,back_color,border_size,border_color,rounded,x,y,w,h,callback) | X | |
| newList(id,title,font,font_size,font_color,back_color,x,y,w,h,callback) | X | |
| newListItem(id,txt,font,font_size,font_color,back_color,icon_name,icon_color,w,h) | X | |
| newDropDown(id,txt,font,font_size,font_color,icon_name,icon_color,type,back_color,x,y,w,h,callback) | X | |
| newDropDownItem(id,txt,font,font_size,font_color,back_color,icon_name,icon_color,w,h) | X | |
| newForm(id,title,font,font_size,font_color,bar_color,back_color,bar_size,form_type,icon_name,icon_color,x,y,w,h,callback) | X | |
| newContainer() | TODO | |
| linkCheckbox() | X | |
| setHidden() | X | |
| setEnabled() | X | |
| getText() | X | |
| setText() | X | |
| checkState() | X | |
| setState() | X | |
| emptyList() | X | |
| addItem() | X | |
| setColor() | X | |
| infoComponent() | X | |
| setPosition() | X | |
| getValue() | X | |
| getId() | X |
| Function | Client | Server |
|---|
| Function | Client | Server |
|---|
| Function | Client | Server |
|---|
| Function | Client | Server |
|---|
| Function | Client | Server |
|---|
| Function | Client | Server |
|---|