Questionnaire command and control

Nearly all of the pieces are in place. Note that I used a lot of binding expressions in the Wizard component so far, but I haven't shown either the top-level view model or how the wizard deals with user interactions. I always like to keep controllers slim and the view controller here is no exception:

// packages/wizard/src/view/WizardController.js Ext.define('Wizard.view.wizard.WizardController', { extend: 'Ext.app.ViewController', alias: 'controller.wizard', listen: { component: { '#next': { click: 'onNextClick' }, '#prev': { click: 'onPrevClick' }, '#restart': { click: 'onRestartClick' }, '#finish': { click: 'onFinishClick' }, 'wizard-progress button': { click: 'onStepClick' } } }, onNextClick: function() { var ...

Get Ext JS Application Development Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.