Created
January 17, 2024 17:29
-
-
Save omerxx/f09cd5a82ae3ddb1b1ace0ee958ca7fd to your computer and use it in GitHub Desktop.
call
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (C, A, L) { let p = function (a, ar) { a.q.push(ar); }; let d = C.document; C.Cal = C.Cal || function () { let cal = C.Cal; let ar = arguments; if (!cal.loaded) { cal.ns = {}; cal.q = cal.q || []; d.head.appendChild(d.createElement("script")).src = A; cal.loaded = true; } if (ar[0] === L) { const api = function () { p(api, arguments); }; const namespace = ar[1]; api.q = api.q || []; typeof namespace === "string" ? (cal.ns[namespace] = api) && p(api, ar) : p(cal, ar); return; } p(cal, ar); }; })(window, "https://app.cal.com/embed/embed.js", "init"); | |
Cal("init", "one-hour-consultation", {origin:"https://cal.com"}); | |
Cal.ns["one-hour-consultation"]("inline", { | |
elementOrSelector:"#my-cal-inline", | |
calLink: "omerxx/one-hour-consultation", | |
layout: "month_view" | |
}); | |
Cal.ns["one-hour-consultation"]("ui", {"styles":{"branding":{"brandColor":"#000000"}},"hideEventTypeDetails":false,"layout":"month_view"}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment