view app/controller/Proben.js @ 1:af8d7217521d

Added basic Proben controller.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 29 Apr 2013 14:20:07 +0200
parents
children b8e56e880f02
line wrap: on
line source
Ext.define('Lada.controller.Proben', {
    extend: 'Ext.app.Controller',
    init: function() {
        console.log('Initialising the Proben controller');
        this.control({
            // CSS like selector to select element in the viewport. See
            // ComponentQuery documentation for more details.
            'viewport > panel': {
                // Map the "render" event to the given function.
                render: this.onPanelRendered
            }
        });
    },
    onPanelRendered: function() {
        console.log('The panel was rendered');
    }
});

http://lada.wald.intevation.org