Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1002639 - href - make HTML link

JavaX fragment (include)

static S href(S link, O contents, O... params) {
  if (link == null) ret str(contents);
  ret tag("a", contents, arrayPlus(params, "href", link));
}

download  show line numbers  debug dex   

Travelled to 11 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1002639
Snippet name: href - make HTML link
Eternal ID of this version: #1002639/4
Text MD5: c52bed78ff692ca34e874768225576f0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-31 05:12:50
Source code size: 151 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 486 / 538
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1002639 & http://1002639.tinybrain.de