1 | static S hrefBlank(S link, O contents, O... params) {
|
2 | ret empty(link) ? strOrEmpty(contents) : tag("a", contents, concatArrays(new O[] { href := link, target := "_blank" }, params));
|
3 | } |
Began life as a copy of #1002639
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: | #1002640 |
| Snippet name: | hrefBlank - make HTML link with target=_blank |
| Eternal ID of this version: | #1002640/5 |
| Text MD5: | df45d877ab3ef6b4ac8e3f6e99af4e63 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-02 02:05:10 |
| Source code size: | 188 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1041 / 1075 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |