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