mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Added onclick helper aswell.
This commit is contained in:
parent
e5de7e48ae
commit
ff28b413d2
@ -344,6 +344,12 @@ HTMLTag *HTMLTag::autocomplete_photo() {
|
||||
return this;
|
||||
}
|
||||
|
||||
HTMLTag *HTMLTag::onclick(const String &val) {
|
||||
attrib("onclick", val);
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
HTMLTag *HTMLTag::inputmode(const String &val) {
|
||||
attrib("inputmode", val);
|
||||
|
||||
|
@ -82,7 +82,7 @@ public:
|
||||
HTMLTag *autocomplete_url();
|
||||
HTMLTag *autocomplete_photo();
|
||||
|
||||
//onclick, etc
|
||||
HTMLTag *onclick(const String &val);
|
||||
|
||||
HTMLTag *checked(const bool val = true);
|
||||
HTMLTag *autofocus(const bool val = true);
|
||||
|
Loading…
Reference in New Issue
Block a user