Libraryless. Click here for Pure Java version (2814L/18K).
sS hcheckboxWithText(S name, S text, bool checked, O... params) { S id = randomID(); ret hcheckbox(name, checked, paramsPlus(params, +id)) + " " + hlabelFor(id, htmlEncode2(text)); } sS hcheckboxWithText(S name, S text) { ret hcheckboxWithText(name, text, false); }
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: | 236 / 333 |
Version history: | 2 change(s) |
Referenced in: | [show references] |