Skip to content

Instantly share code, notes, and snippets.

@tobiu
Last active January 17, 2022 00:10
Show Gist options
  • Save tobiu/7a3801a7af89432614fbe760d44ce2ce to your computer and use it in GitHub Desktop.
Save tobiu/7a3801a7af89432614fbe760d44ce2ce to your computer and use it in GitHub Desktop.
MyApp.view.MainContainerController
import ComponentController from '../../../node_modules/neo.mjs/src/controller/Component.mjs';
/**
* @class MyApp.view.MainContainerController
* @extends Neo.controller.Component
*/
class MainContainerController extends ComponentController {
static getConfig() {return {
/**
* @member {String} className='MyApp.view.MainContainerController'
* @protected
*/
className: 'MyApp.view.MainContainerController'
}}
/**
* @param {Object} data
*/
onHomeButtonClick(data) {
console.log('home', data);
}
}
Neo.applyClassConfig(MainContainerController);
export {MainContainerController as default};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment