src/aria/templates/Section.js
function (args) {
                var sectionMacro = this.macro;
                if (sectionMacro) {
                    // a macro is defined in the section, it is the default macro to use when refreshing
                    if (!args.macro) {
                        args.macro = sectionMacro;
                    } else {
                        var targetMacro = args.macro;
                        if (ariaUtilsType.isObject(targetMacro) && !targetMacro.name) {
                            targetMacro.name = sectionMacro.name;
                            targetMacro.scope = sectionMacro.scope;
                            if (!targetMacro.args) {
                                targetMacro.args = sectionMacro.args;
                            }
                        }
                    }
                }
                // Remove cached reference to the dom element, as it may change during the refresh
                // (occurs in tables in IE)
                this._domElt = null;
            }
function (args) {
                var sectionMacro = this.macro;
                if (sectionMacro) {
                    // a macro is defined in the section, it is the default macro to use when refreshing
                    if (!args.macro) {
                        args.macro = sectionMacro;
                    } else {
                        var targetMacro = args.macro;
                        if (ariaUtilsType.isObject(targetMacro) && !targetMacro.name) {
                            targetMacro.name = sectionMacro.name;
                            targetMacro.scope = sectionMacro.scope;
                            if (!targetMacro.args) {
                                targetMacro.args = sectionMacro.args;
                            }
                        }
                    }
                }
                // Remove cached reference to the dom element, as it may change during the refresh
                // (occurs in tables in IE)
                this._domElt = null;
            }
function ( args ) { var sectionMacro = this . macro ; if ( sectionMacro ) { // a macro is defined in the section, it is the default macro to use when refreshing if ( ! args . macro ) { args . macro = sectionMacro ; } else { var targetMacro = args . macro ; if ( ariaUtilsType . isObject ( targetMacro ) && ! targetMacro . name ) { targetMacro . name = sectionMacro . name ; targetMacro . scope = sectionMacro . scope ; if ( ! targetMacro . args ) { targetMacro . args = sectionMacro . args ; } } } } // Remove cached reference to the dom element, as it may change during the refresh // (occurs in tables in IE) this . _domElt = null ; }
Method called when this section is about to be refreshed.
@param {aria.templates.CfgBeans:GetRefreshedSectionCfg} args arguments given to the getRefreshedSection
method. The arguments are modified to add default parameters (macro) if not specified.
Method called when this section is about to be refreshed .