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

4 lines
98 B
JavaScript
Raw Normal View History

2022-06-24 15:29:23 +05:00
export default function prepend(node, parent) {
parent.insertBefore(node, parent.firstChild);
}