src/main/javascript/dom/floatz.dom.dom.js
/**
     * Get next sibling element.
     *
     * @param {boolean} elementsOnly Consider all nodes (false) or only elements true). Default is false.
     * @returns {DOMElement} DOMElement or null if not an element
     */
Get next sibling element.
@param {boolean} elementsOnly Consider all nodes (false) or only elements true). Default is false.
@returns {DOMElement} DOMElement or null if not an element
Get next sibling element . @param { boolean } elementsOnly Consider all nodes ( false ) or only elements true ) . Default is false . @returns { DOMElement } DOMElement or null if not an element
nextSibling(elementsOnly = false) {
        let sibling = elementsOnly ? this.origNode().nextElementSibling : this.origNode().nextSibling;
        if (sibling instanceof Element) {
            return new DOMElement(sibling);
        }
        return null;
    }
nextSibling ( elementsOnly = false ) { let sibling = elementsOnly ? this . origNode ( ) . nextElementSibling : this . origNode ( ) . nextSibling ; if ( sibling instanceof Element ) { return new DOMElement ( sibling ) ; } return null ; }
Get next sibling element.
Get next sibling element .
// TODO Support DOMText as well