Libraryless. Click here for Pure Java version (2188L/14K).
// first element of params can be the value static S hpasswordfield(S name, O... params) { O value = ""; if (odd(l(params))) { value = params[0]; params = dropFirst(params); } params = html_massageAutofocusParam(params); ret tag("input", "", concatArrays(new O[] {"type", "password", "name", name, "value", value}, params)); } static S hpasswordfield(S name) { ret hpasswordfield(name, ""); }
Began life as a copy of #1003087
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1021829 |
Snippet name: | hpasswordfield - make HTML password input field |
Eternal ID of this version: | #1021829/4 |
Text MD5: | a99775aa26fac85dc5b0e3ed38c976b9 |
Transpilation MD5: | 5afeda098ad198104bbd65f727e168c2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-29 00:14:59 |
Source code size: | 432 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 321 / 416 |
Version history: | 3 change(s) |
Referenced in: | [show references] |