code: function handleLayout(layoutObj) {
        view.currentLayout = layoutObj.layout;
        self.handle('onLayout', view);
        delete view.currentLayout;
      }
docs: Handle each layout before it's applied to a view