src/aria/widgetLibs/BaseWidget.js
function (id) {
                var dynamicIds = this._dynamicIds;
                if (dynamicIds) {
                    var index = arrayUtils.indexOf(dynamicIds, id);
                    if (index != -1) {
                        idMgr.releaseId(id);
                        if (dynamicIds.length == 1) {
                            this._dynamicIds = null;
                        } else {
                            arrayUtils.removeAt(dynamicIds, index);
                        }
                    }
                }
            }
function (id) {
                var dynamicIds = this._dynamicIds;
                if (dynamicIds) {
                    var index = arrayUtils.indexOf(dynamicIds, id);
                    if (index != -1) {
                        idMgr.releaseId(id);
                        if (dynamicIds.length == 1) {
                            this._dynamicIds = null;
                        } else {
                            arrayUtils.removeAt(dynamicIds, index);
                        }
                    }
                }
            }
function ( id ) { var dynamicIds = this . _dynamicIds ; if ( dynamicIds ) { var index = arrayUtils . indexOf ( dynamicIds , id ) ; if ( index != - 1 ) { idMgr . releaseId ( id ) ; if ( dynamicIds . length == 1 ) { this . _dynamicIds = null ; } else { arrayUtils . removeAt ( dynamicIds , index ) ; } } } }
Release a dynamic id created with _createDynamicId, so that it can be reused for another widget. If the
id was not created with _createDynamicId or already released, the function does nothing.
@param {String} id id to be released.
Release a dynamic id created with _createDynamicId so that it can be reused for another widget . If the id was not created with _createDynamicId or already released the function does nothing .