added view

This commit is contained in:
Jorijn van der Graaf 2025-11-10 22:46:05 +01:00
commit 580e53d3bc
11 changed files with 68 additions and 34 deletions

View file

@ -18,7 +18,7 @@ License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
export module Crafter.CppDOM:HtmlElementView;
export module Crafter.CppDOM:HtmlElement;
import std;
import :BindingsExport;
import :BindingsImport;
@ -139,8 +139,9 @@ namespace Crafter {
};
export class HtmlElement : public HtmlElementView {
HtmlElementView(const std::string_view id);
HtmlElementView(const std::string_view id, const std::string_view html);
~HtmlElementView();
}
public:
HtmlElement(const std::string_view id);
HtmlElement(const std::string_view id, const std::string_view html);
~HtmlElement();
};
}