MCPcopy Create free account
hub / github.com/OpenSignLabs/OpenSign / openInNewTab

Function openInNewTab

apps/OpenSign/src/constant/Utils.js:178–184  ·  view source on GitHub ↗
(url, target)

Source from the content-addressed store, hash-verified

176};
177
178export const openInNewTab = (url, target) => {
179 if (target) {
180 window.open(url, target, "noopener,noreferrer");
181 } else {
182 window.open(url, "_blank", "noopener,noreferrer");
183 }
184};
185
186export const getUserCountry = async () => {
187 try {

Callers 7

openUrlFunction · 0.90
HeaderFunction · 0.90
openReportFunction · 0.90
PdfRequestFilesFunction · 0.90
AddAdminFunction · 0.90
DocumentsReportFunction · 0.90
TooltipFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected