Libraryless. Click here for Pure Java version (2814L/18K).
1 | sS hcheckboxWithText(S name, S text, bool checked, O... params) { |
2 | S id = randomID(); |
3 | ret hcheckbox(name, checked, paramsPlus(params, +id)) + " " + hlabelFor(id, htmlEncode2(text)); |
4 | } |
5 | |
6 | sS hcheckboxWithText(S name, S text) { |
7 | ret hcheckboxWithText(name, text, false); |
8 | } |
Began life as a copy of #1003116
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028495 |
Snippet name: | hcheckboxWithText - make HTML checkbox with clickable text label |
Eternal ID of this version: | #1028495/3 |
Text MD5: | f60b424d9928ef15e7eed2589457c5b9 |
Transpilation MD5: | 09c66783e51eaf2995e37bdaf91dbbe1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-23 00:20:12 |
Source code size: | 279 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 237 / 335 |
Version history: | 2 change(s) |
Referenced in: | [show references] |