Child pages
  • Specification (.spec file)

Versions Compared

Key

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

...

Code Block
titledatafield.spec
name: 'datafield',
displayName: 'Data Field',
definition: 'servoydefault/datafield/datafield.js',
properties: {
	dataProviderID: "dataprovider",
	toolTipText: "stringtagstring",
	xbgColor: "intcolor",
	yonAction: "intfunction",
    direction: {
		wtype: "int"'values',
	h: "int",
	bgColor: "color",
	onAcion: "function"
		values [ { real: 1, display: 'left' }, { real: 2, display: 'right' }  ]
		default: 0
	}
 }

Basically the stuff our content spec describes for element types.

 

For the prototy prototype we could even generate these for all default "servoy" components, like datafield, databutton,etc.