api document
#
APIs#
$render$render
is the most core api, it specified the ui structure.
#
console#
fetch#
$device#
$gradient$gradient
works with background
and color
attributes.
#
$getenv$getenv
can get several environment state. But for now, getenv only support widget-size
.
#
$json$json
used for some complex attributes. It simply called JSON.stringfy
internal.
#
$http- $http.get
- $http.post
- $http.put
- $http.patch
- $http.delete
The second parameter for each api supports:
- headers
- body : usually usefull for post body