// Copyright (c) 2009-2026 SAP SE, All Rights Reserved

sap.ui.define([
    "sap/ushell/Container"
], (
    Container
) => {
    "use strict";

    class CreateRenderer {
        async run () {
            // Create the default renderer asynchronously
            // and place its UI5 control into the canvas div replacing the contents
            const oRenderer = await Container.createRendererInternal(null);
            oRenderer.placeAt("canvas", "only");
        }
    }

    return new CreateRenderer();
});
