Skip to content

Instantly share code, notes, and snippets.

@tobiu
Created September 6, 2022 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobiu/1c46e1a3c95cb867793d692eb3faa99e to your computer and use it in GitHub Desktop.
Save tobiu/1c46e1a3c95cb867793d692eb3faa99e to your computer and use it in GitHub Desktop.
shared-offscreen/blob/main/apps/childapp/view/MainContainer.mjs
import Viewport from '../../../node_modules/neo.mjs/src/container/Viewport.mjs';
/**
* @class ChildApp.view.MainContainer
* @extends Neo.container.Viewport
*/
class MainContainer extends Viewport {
static getConfig() {return {
/*
* @member {String} className='ChildApp.view.MainContainer'
* @protected
*/
className: 'ChildApp.view.MainContainer',
/*
* @member {Boolean} autoMount=true
*/
autoMount: true,
/*
* @member {Object} layout={ntype:'fit'}
*/
layout: {ntype: 'fit'}
}}
}
Neo.applyClassConfig(MainContainer);
export default MainContainer;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment