Skip to main content

متد ها

 

 

 

 

console

متد ها:
Method Type inputs Description
log void message: any متن داده شده را در صفحه ی دیباگ نمایش می دهد
clear void - متن های صفحه ی دیباگ را پاک می کند

 

Appsan

متد ها:
Method Type inputs Description
setProperty void elementId: string, propertyName: string, propertyValue تغییر مقدار پراپرتی یک المان
setVariable void variableId: string, variableValue: string تغییر مقدار یک variable
runUpdate void updateJson: string اجرای update
runAction void actions: string اجرای action
findElementById {id, value, ...} id: string گرفتن یک المان با id

 

HTTPClient

Method Type Inputs
get {subscribe: (success(), error(), finally()) => void} url: string, options: {headers: {name: value,...}}
post {subscribe: (success(), error(), finally()) => void} url: string, body: any, options: {headers: {name: value,...}}
put {subscribe: (success(), error(), finally()) => void} url: string, body: any, options: {headers: {name: value,...}}
delete {subscribe: (success(), error(), finally()) => void} url: string, options: {headers: {name: value,...}}
patch {subscribe: (success(), error(), finally()) => void} url: string, body: any, options: {headers: {name: value,...}}