mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-26 13:47:12 +01:00
Added rows and cols to HTMLTag.
This commit is contained in:
parent
f1e5f3d062
commit
1f8581edd8
@ -78,6 +78,19 @@ HTMLTag *HTMLTag::alt(const String &val) {
|
||||
return this;
|
||||
}
|
||||
|
||||
HTMLTag *HTMLTag::rows(const String &val) {
|
||||
attrib("rows", val);
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
HTMLTag *HTMLTag::cols(const String &val) {
|
||||
attrib("cols", val);
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
HTMLTag *HTMLTag::autocomplete(const String &val) {
|
||||
attrib("autocomplete", val);
|
||||
|
||||
|
@ -28,6 +28,8 @@ public:
|
||||
HTMLTag *alt(const String &val);
|
||||
HTMLTag *inputmode(const String &val);
|
||||
HTMLTag *list(const String &val);
|
||||
HTMLTag *rows(const String &val);
|
||||
HTMLTag *cols(const String &val);
|
||||
|
||||
HTMLTag *autocomplete(const String &val);
|
||||
|
||||
|
@ -96,6 +96,18 @@ Ref<_HTMLTag> _HTMLTag::alt(const String &val) {
|
||||
return Ref<_HTMLTag>(this);
|
||||
}
|
||||
|
||||
Ref<_HTMLTag> _HTMLTag::rows(const String &val) {
|
||||
attrib("rows", val);
|
||||
|
||||
return Ref<_HTMLTag>(this);
|
||||
}
|
||||
|
||||
Ref<_HTMLTag> _HTMLTag::cols(const String &val) {
|
||||
attrib("cols", val);
|
||||
|
||||
return Ref<_HTMLTag>(this);
|
||||
}
|
||||
|
||||
Ref<_HTMLTag> _HTMLTag::autocomplete(const String &val) {
|
||||
attrib("autocomplete", val);
|
||||
|
||||
@ -893,6 +905,8 @@ void _HTMLTag::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("alt", "val"), &_HTMLTag::alt);
|
||||
ClassDB::bind_method(D_METHOD("inputmode", "val"), &_HTMLTag::inputmode);
|
||||
ClassDB::bind_method(D_METHOD("list", "val"), &_HTMLTag::list);
|
||||
ClassDB::bind_method(D_METHOD("rows", "val"), &_HTMLTag::rows);
|
||||
ClassDB::bind_method(D_METHOD("cols", "val"), &_HTMLTag::cols);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("autocomplete", "val"), &_HTMLTag::autocomplete);
|
||||
|
||||
|
@ -33,6 +33,8 @@ public:
|
||||
Ref<_HTMLTag> alt(const String &val);
|
||||
Ref<_HTMLTag> inputmode(const String &val);
|
||||
Ref<_HTMLTag> list(const String &val);
|
||||
Ref<_HTMLTag> rows(const String &val);
|
||||
Ref<_HTMLTag> cols(const String &val);
|
||||
|
||||
Ref<_HTMLTag> autocomplete(const String &val);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user