OptionalattributesThe attributes to pass to the new DOM element.
OptionalboundingThe values returned by getBoundingClientRect. Useful in jsdom environment.
OptionalcontentA DOM element to append as child. Has precedence over textContent.
OptionalparentA DOM element to which append the new DOM element. Has precedence over parentSelector.
OptionalparentA selector of a DOM element to which append the new DOM element.
OptionaltagThe tag name of the new DOM element to create. All valid HTML tags are accepted.
OptionaltextA text to append as child of the new DOM element.
Configuration object for createElement.