mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
18 lines
324 B
C++
18 lines
324 B
C++
#pragma once
|
|
|
|
#include <AK/AKString.h>
|
|
#include <LibHTML/DOM/Node.h>
|
|
|
|
class Text final : public Node {
|
|
public:
|
|
explicit Text(const String&);
|
|
virtual ~Text() override;
|
|
|
|
const String& data() const { return m_data; }
|
|
|
|
virtual RetainPtr<LayoutNode> create_layout_node() override;
|
|
|
|
private:
|
|
String m_data;
|
|
};
|