Content deleted Content added
Platipusica (talk | contribs) mNo edit summary |
Platipusica (talk | contribs) m example |
||
Line 28:
== Example ==
The following code adds a form button.
Server Module ([[Python (programming language)|Python]]):
Line 45:
let mess = item.message('Calculation in progress!', {close_on_escape: false, margin: 20, text_center: true});
item.server('calculate', [100, 200], function(result) {
item.calculated_value.value = result;
item.hide_message(mess);
});
|