These are chat archives for flow-stack/flow
aSpecificController reactionsAt: #onAfterView add: [ aSpecificController notifySomething ]
aSpecificController reactionsAt: #onBeforeModel add: [ aSpecificController locallySaveSomething ]
initializeto say: self reactionsAt: #onAfterView add: [ 'whatever you want to do after the template got loaded and set as fresh view' ]
onBeforeView onBeforeRender onBeforeModel onBeforeRemoveand all their counterparts with
Controller instVars: 'model view reactions otherstuff...'
initializeor somewhere else
aController on: #eventName evaluate: aValuable withAll: arguments, it's a matter of taste, the end user functionality would be the same. With the option of using a message send instead of a block closure
self when: #onBeforeModel: do: [ :m | doSomething ]
self trigger: #onBeforeModel: with: self model
modelhitting the API and the
viewloaded by requirejs. The thing is that, for BindingControllers, we need both to be there before asking to bind.