src/aria/popups/Popup.js
function (section) {
            // PROFILING // var profilingId = this.$startMeasure("Inserting
            // section in DOM");
            ariaUtilsDom.replaceHTML(this.domElement, section.html);

            // var sectionDomElement = this.domElement.firstChild;

            // Maybe the initWidget should be done after displaying the popup ?
            section.initWidgets();

            this.section = section;
            // PROFILING // this.$stopMeasure(profilingId);
        }
function (section) {
            // PROFILING // var profilingId = this.$startMeasure("Inserting
            // section in DOM");
            ariaUtilsDom.replaceHTML(this.domElement, section.html);

            // var sectionDomElement = this.domElement.firstChild;

            // Maybe the initWidget should be done after displaying the popup ?
            section.initWidgets();

            this.section = section;
            // PROFILING // this.$stopMeasure(profilingId);
        }
function ( section ) { // PROFILING // var profilingId = this.$startMeasure("Inserting // section in DOM"); ariaUtilsDom . replaceHTML ( this . domElement , section . html ) ; // var sectionDomElement = this.domElement.firstChild; // Maybe the initWidget should be done after displaying the popup ? section . initWidgets ( ) ; this . section = section ; // PROFILING // this.$stopMeasure(profilingId); }
Set the section which will be used as the content of this popup Calculate its size and initialize the widgets
inside it
@param {aria.templates.Section} section
Set the section which will be used as the content of this popup Calculate its size and initialize the widgets inside it