Difference between revisions of "Binding"
From AMTech WikiDocs
Line 5: | Line 5: | ||
[[File:Binding-propertis.png|thumbnail|center|selection from propeties]] | [[File:Binding-propertis.png|thumbnail|center|selection from propeties]] | ||
# Javascript code | # Javascript code | ||
− | [[File:Binding-js.png|thumbnail|center|javascript]] | + | [[File:Binding-js.png|thumbnail|center|580px|javascript]] |
;the context where the reasoner gets executed is injected into the javascript function, Ctrl+Space shows code completion options | ;the context where the reasoner gets executed is injected into the javascript function, Ctrl+Space shows code completion options |
Revision as of 11:19, 10 May 2016
The process of assigning a value to a resource type (thing, observation, notification) property during an action configuration is referenced as "Binding"; there ate 3 types of binding:
- Constants
- Value selected from a resource property, filter by the type of the property
- Javascript code
- the context where the reasoner gets executed is injected into the javascript function, Ctrl+Space shows code completion options