diff --git a/embedding/embed-instructions.mdx b/embedding/embed-instructions.mdx index 13ee48e..2b5ecd6 100644 --- a/embedding/embed-instructions.mdx +++ b/embedding/embed-instructions.mdx @@ -39,4 +39,25 @@ To open cal link on some action, make it pop open instantly by using `preload`. ``` -- `calLink` - Cal Link that you want to embed e.g. john. Just give the username. No need to give the full URL https://cal.com/john \ No newline at end of file +- `calLink` - Cal Link that you want to embed e.g. john. Just give the username. No need to give the full URL https://cal.com/john + +#### Close modal + +Programmatically closes a modal-based embed shown as a pop-up (for example, when opened via an element click or the floating button). + +```js + +``` + +**Supported embed types:** +- Pop-up via element click +- Floating button pop-up + +**Namespaced usage:** +```js + +``` \ No newline at end of file