ngx-json-viewer icon indicating copy to clipboard operation
ngx-json-viewer copied to clipboard

feat: if data has URL display it as hyperlink

Open medjedovicm opened this issue 1 year ago • 1 comments

Resolves #131, resolves #132

Implementation

  • New segment type introduced link
  • Path or URL is detected and appropriate CSS is applied. (purple colour, text underlined)
  • In such case, the segment is clickable
  • When clicked, output event is fired: segmentLinkClicked payload is type string containing the clicked segment value

medjedovicm avatar Apr 25 '23 15:04 medjedovicm

image

medjedovicm avatar Jul 28 '23 10:07 medjedovicm