[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
example[spec] Modify a property of a widget (through widget of the coordinator)
" select a task, start it, click on Comments "
" self is a MobilePageJSon instance "
| comment jsObject widgetSpec |
comment := self widgetAt: #comment.
jsObject := comment basicAt: #spec.
widgetSpec := JS @ jsObject.
" modify the property of the MobileTextArea "
widgetSpec handleAt: #height put: 100.
" update rendered UI "
self thread update.