Current File : /home/exataengenharia/public_html/node_modules/@splidejs/splide/src/js/utils/dom/append/append.ts
import { forEach } from '../../array';


/**
 * Appends children to the parent element.
 *
 * @param parent   - A parent element.
 * @param children - A child or children to append to the parent.
 */
export function append( parent: Element, children: Node | Node[] ): void {
  forEach( children, parent.appendChild.bind( parent ) );
}