src/aria/utils/ClassList.js
function (domElt) {
        this.setClassName = function (className) {
            domElt.className = className;
        };

        this.getClassName = function () {
            return domElt.className;
        };

        this._dispose = function () {
            domElt = null;
            this._dispose = null;
        };
    }
function (domElt) {
        this.setClassName = function (className) {
            domElt.className = className;
        };

        this.getClassName = function () {
            return domElt.className;
        };

        this._dispose = function () {
            domElt = null;
            this._dispose = null;
        };
    }
function ( domElt ) { this . setClassName = function ( className ) { domElt . className = className ; } ; this . getClassName = function ( ) { return domElt . className ; } ; this . _dispose = function ( ) { domElt = null ; this . _dispose = null ; } ; }
Create a DOM Wrapper object to allow safe changes in the DOM classes without giving direct access to the DOM.
Note that a closure is used to prevent access to the domElt object from the template.
@param {HTMLElement} domElt DOM element which is wrapped
Create a DOM Wrapper object to allow safe changes in the DOM classes without giving direct access to the DOM . Note that a closure is used to prevent access to the domElt object from the template .