big-moving.ru/assets/vendor_components/popper/packages/test-utils/utils/prepend.js

4 lines
98 B
JavaScript
Executable File

export default function prepend(node, parent) {
parent.insertBefore(node, parent.firstChild);
}