| 1 2 3 4 5 6 7 8 9 10 11 | 3x 4x | // https://github.com/wbkd/d3-extended
export function addMoveToFront(d3) {
d3.selection.prototype.moveToFront = function() {
return this.each(function() {
// @ts-ignore
this.parentNode.appendChild(this);
});
};
}
|