MCPcopy Create free account
hub / github.com/microsoft/SandDance / linkSelect

Function linkSelect

docs/app/js/sanddance-app.js:10765–10777  ·  view source on GitHub ↗
(language, columnName, value, selectionHandler)

Source from the content-addressed store, hash-verified

10763 }))));
10764};
10765function linkSelect(language, columnName, value, selectionHandler) {
10766 return _vegaDeckGl.util.createElement("span", null, _vegaDeckGl.util.createElement("a", {
10767 href: "#",
10768 onClick: (e)=>selectionHandler(columnName, value)
10769 }, value), isNaN(value) ? [
10770 " ",
10771 _vegaDeckGl.util.createElement("a", {
10772 className: "bing-search",
10773 href: `https://www.bing.com/search?q=${encodeURIComponent(value)}`,
10774 target: "_blank"
10775 }, language.bing)
10776 ] : "");
10777}
10778
10779},{"@msrvida/vega-deck.gl":"dKeDo","./defaults":"eTIvp","./constants":"8f30h","@msrvida/search-expression":"7aaNP","./util":"jvEtL","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"7c9Zj":[function(require,module,exports) {
10780var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 1

renderDetailsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected