Child pages
  • Specification (.spec file)

Versions Compared

Key

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

...

Code Block
languagejs
titleExample protecting properties and handlers
"model:" {
    "customerAddress": "string", 
    "customerName": "string", 
    "protectCustomer": { "type": "protected", "for": ["removecustomer", "customerName"] }
   },
"handlers:" {
   "removecustomer": "function"
}

 

Protecting properties themselves can never be modified from the client.

You might also want to read about how protecting works with containers below.

Visibility properties
Anchor
Visibility
Visibility

...

Code Block
languagejs
titleExample visible
"model": {
   "visible": "visible",
   "customerName": "string"
} 

...

Visibility properties themselves can never be modified from the client.

You might also want to read about how visibility works with containers below.

Enabled properties
Anchor
Enabled
Enabled

...