Child pages
  • Specification (.spec file)

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

twoWay valuedescription
 not setno data synchronisation from client to server for this property
deepwatch model changes based on object equality (compares old and new values of structured/nested objects, less performant)
shallowwatch model changes based on object reference/primitive value (more performant, but may will trigger data synchronisation on objects that are actually 'equal' objectsby content and different by reference)

 

For example:

Code Block
languagejs
titletwoWay example
"model": {
   "searchfield" : { "type": "string", "twoWay": "shallow" }
   }
} 

...