mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 12:18:25 +00:00
LibWeb: Add the HTMLInputElement.type attribute
This makes React react to change events on text <input> elements. :^)
This commit is contained in:
@@ -20,7 +20,9 @@ public:
|
||||
|
||||
virtual RefPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>) override;
|
||||
|
||||
String type() const { return attribute(HTML::AttributeNames::type); }
|
||||
String type() const;
|
||||
void set_type(String const&);
|
||||
|
||||
String default_value() const { return attribute(HTML::AttributeNames::value); }
|
||||
String name() const { return attribute(HTML::AttributeNames::name); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user