@genexus/web-standard-functions
Version:
GeneXus JavaScript standard functions library for web generators
16 lines • 434 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.openInBrowser = void 0;
const canOpen_1 = require("./canOpen");
/**
* Opens an URL in the web browser
* @param url
*/
const openInBrowser = (url) => {
if ((0, canOpen_1.canOpen)(url)) {
let win = window.open(url, "_blank");
win.focus();
}
};
exports.openInBrowser = openInBrowser;
//# sourceMappingURL=openInBrowser.js.map