Hi
I am trying to get a Servoy component to recognise a css file within the component file structure. The spec file I am using has the following format
{
"displayName": "infobox",
"name": "infobox-infobox",
"definition": "infobox/infobox/infobox.js",
"libraries": [
{
"name": "infobox.css",
"version": "v1.0.0",
"url": "infobox/infobox/infobox.css",
"mimetype": "text/css"
}
],
"model": {
"yourName": {"default": "World","type": "string"},
"styleClass": { "type": "styleclass", "default": "test",
"values": [
"test"
]},
"toolTipText": "tag string",
"size": { "type": "dimension", "default": {"width": 250, "height": 30 }}
},
"version": 1
}
This is basically ignoring the css within infobox.css the class definition is
.test {
background-color:red;
}
Any ideas would be more than welcome
best
Gordon