Commit c5930f4e authored by damianofalcioni's avatar damianofalcioni

minor ui fix

parent bcc33c2d
......@@ -27,7 +27,7 @@
oliveUI.setWidgetInstanceConfiguration(widget2, {
microserviceInputs: {
'Append Text': {
value: 'World'
value: 'Microservice result'
}
},
microserviceOutputAdaptAlg: 'return output.dataText;',
......@@ -35,9 +35,10 @@
});
oliveUI.setWidgetInstanceConfiguration(widget3, {
javascriptAlg: `return $('<button>This is a javascript generated button</button>').click(function () {
alert('Button clicked');
});`
javascriptAlg: `//You must return a dom object
return $('<button>This is a javascript generated button</button>').click(function () {
alert('Button clicked');
});`
});
oliveUI.setWidgetInstanceConfiguration(widget4, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment