src/main/javascript/dom/floatz.dom.dom.js
/**
     * Check if class is set.
     *
     * @param className Class name
     * @returns {boolean} true if set, false if not
     */
Check if class is set.
@param className Class name
@returns {boolean} true if set, false if not
Check if class is set . @param className Class name @returns { boolean } true if set false if not
hasClass(className) {
        if (this._origNode.classList) {
            return this._origNode.classList.contains(className);
        } else {
            console.error("classList not available");
            return false;
        }
    }
hasClass ( className ) { if ( this . _origNode . classList ) { return this . _origNode . classList . contains ( className ) ; } else { console . error ( "classList not available" ) ; return false ; } }
Check if class is set.
Check if class is set .