CHT Applications > Reference > targets.js
Targets: Definition of target widgets calculated and seen in the app
Helper variables and functions defined in nools-extras.js
can be used by both tasks.js
and targets.js
.
The following global variables can be used:
Variable | Description |
---|---|
c.contact | The contact’s doc. All contacts have type of either person or place . |
c.reports | An array of all the reports submitted about the contact. |
console | Useful for outputting debugging statements. Should not be used in production code. |
Utils | Set of commonly used helper functions, described in the Utils section. |
Targets: Definition of target widgets calculated and seen in the app
Tasks: Definition of tasks shown to app users
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.