[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
example[spec] Modify the title of a MobileCoordinator
" self is a MobileThreadAction instance "
| jsObject js coordinatorSpec spec coordinatorConf |
jsObject := self basicAt: #spec.
js := JS @ jsObject.
coordinatorSpec := js @ #coordinator.
coordinatorConf := JS @ coordinatorSpec @ #configuration.
" change the property "
JS @ coordinatorConf handleAt: #title put: #newTitle.
" update rendered UI "
self update.