import { SimpleContentView } from "./SimpleContent.js";
import { LayoutViewBase } from "../LayoutViewBase.js";
export class SimpleLayoutView extends LayoutViewBase {
    template() {
        return `
            <div class="-fb-layout -fb-layout-simple">
                <div role="contents" class="-fb-layout-contents"></div>
            </div>
        `;
    }
    onLoadModel() {
        this.m_content = new SimpleContentView({
            insertAt: "[role=contents]",
            source: this.source,
            autoFocusOnLoad: this.autoFocusOnLoad
        });
        this.controls.add(this.m_content);
    }
}
