You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Knut Ole edited this page Mar 18, 2015
·
4 revisions
Planning Overview
Key goals:
All user actions trigger an event.
Active project, etc. is controlled with events.
Whole portal can be controlled with events - making it easy to write test-suite for example.
Relevant events
show/hide all panes
load new project (projectSelected)
global resize events
Types of Events
Project selected
// set a project portal wideWu.Mixin.Events.fire('projectSelected',{detail : {projectUuid : project.getUuid()}});// listen to project selectedWu.Mixin.Events.on('projectSelected',this._projectSelected,this);