1 | sS hcheckbox(S name, bool checked, O... params) { |
2 | ret tag input("", paramsPlus(params, "type", "checkbox", "name", name, checked ? "checked" : null, "1")); |
3 | } |
4 | |
5 | sS hcheckbox(S name) { |
6 | ret hcheckbox(name, false); |
7 | } |
8 | |
9 | sS hcheckbox(S name, S text) { |
10 | ret hcheckboxWithText(name, text); |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003116 |
Snippet name: | hcheckbox - make HTML checkbox |
Eternal ID of this version: | #1003116/7 |
Text MD5: | b1b76599b85a4cd1a1d1cfbc0d162df3 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-13 17:20:32 |
Source code size: | 296 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 638 / 691 |
Version history: | 6 change(s) |
Referenced in: | [show references] |