Child pages
  • Specification (.spec file)

Versions Compared

Key

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

...

Code Block
languagejs
titleTags example
"model": {
   "enabled" : { "type": "protected", "blockingOn": false, "default": true,
                 "tags": { "accessible":"accessible" }
   }
} 

Other supported tags are scope and directEdit. 

scope: Restricts the model property to: 'design', 'runtime' or 'private'. Design means property can only be assigned from designer (not from scripting). Runtime means the property cannot be assigned from designer (will be hidden in Properties View). Private is an internal property, that should only be used by component itself (so component.js or component_server.js). Will not show in Properties View and cannot be assigned from scripting.

directEdit: boolean One property of a component can be tagged as directEdit for designer, this way that property can be edited directly by double clicking the component (for example text property on label/button).

Security

Components can be protected using two special security types: visible and protected.

...