1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 21:14:59 +00:00
serenity/Libraries/LibHTML/DOM/ElementFactory.h
Andreas Kling 35def88c8b LibHTML: Move Element construction to a separate file
We now have create_element(document, tag_name) in ElementFactory.
This will be useful for constructing new elements outside of parsing.
2019-10-12 13:02:38 +02:00

5 lines
122 B
C

#pragma once
#include <LibHTML/DOM/Element.h>
NonnullRefPtr<Element> create_element(Document&, const String& tag_name);