whole_func_string: function _createLayout() {
          this._renderables = {
              views: [],
              transferables: []
          };
          this._viewStack = [];
          this.layout = new LayoutController({
              layout: ViewStackLayout.bind(this),
              layoutOptions: this.options,
              dataSource: this._renderables
          });
          this.add(this.layout);
          this.layout.on('layoutend', _processAnimations.bind(this));
      }
func_code_string: function _createLayout() {
          this._renderables = {
              views: [],
              transferables: []
          };
          this._viewStack = [];
          this.layout = new LayoutController({
              layout: ViewStackLayout.bind(this),
              layoutOptions: this.options,
              dataSource: this._renderables
          });
          this.add(this.layout);
          this.layout.on('layoutend', _processAnimations.bind(this));
      }
func_documentation_string: Creates the view-stack layout.