File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -519,6 +519,15 @@ class EmbAJAXRadioGroupBase;
519
519
* please do not rely on this implementation detail. */
520
520
class EmbAJAXCheckButton : public EmbAJAXElement {
521
521
public:
522
+ /* * constructor
523
+ * @param id Id of this checkbox. @See EmbAJAXElement().
524
+ * @param label Label of the checkbox. May contain HTML (no quoting is done).
525
+ * The label is added as a <label/>-element next to the checkbox (<input type="checkbox"/>).
526
+ * Speficying an empty string ("") causes the label to be empty, but leaving the value as nullptr
527
+ * will cause the <label/>-element to be omitted (useful with some CSS definitions).
528
+ * @param checked If true, the checkbox will be initially checked. @see setChecked().
529
+ */
530
+ EmbAJAXCheckButton (const char * id, const char * label=EmbAJAXBase::null_string, bool checked=false );
522
531
EmbAJAXCheckButton (const char * id, const char * label=nullptr , bool checked=false );
523
532
void print () const override ;
524
533
const char * value (uint8_t which = EmbAJAXBase::Value) const override ;
You can’t perform that action at this time.
0 commit comments