move(position) {
        const { linkup } = this;
        if (linkup && linkup.linked) {
            const upperLinked = linkup.linked;
            const [node] = upperLinked.splice(upperLinked.indexOf(this), 1);
            upperLinked.splice(position, 0, node);
            const referenceNode = upperLinked[position + 1];
            linkup.element.insertBefore(this.element, referenceNode ? referenceNode.element : null);
        }
        return this;
    }
/**
     * Moves the linked Node to the provided position.
     *
     * @param position - Position index to move the Node to.
     * @returns - IsotopeNode.
     */
Moves the linked Node to the provided position.
@param position - Position index to move the Node to.
Moves the linked Node to the provided position . @param position - Position index to move the Node to .
move(position) {
        const { linkup } = this;
        if (linkup && linkup.linked) {
            const upperLinked = linkup.linked;
            const [node] = upperLinked.splice(upperLinked.indexOf(this), 1);
            upperLinked.splice(position, 0, node);
            const referenceNode = upperLinked[position + 1];
            linkup.element.insertBefore(this.element, referenceNode ? referenceNode.element : null);
        }
        return this;
    }
move ( position ) { const { linkup } = this ; if ( linkup && linkup . linked ) { const upperLinked = linkup . linked ; const [ node ] = upperLinked . splice ( upperLinked . indexOf ( this ) , 1 ) ; upperLinked . splice ( position , 0 , node ) ; const referenceNode = upperLinked [ position + 1 ] ; linkup . element . insertBefore ( this . element , referenceNode ? referenceNode . element : null ) ; } return this ; }
Moves the linked Node to the provided position.
Moves the linked Node to the provided position .