--- title: "unloading" slug: "unloading" updated: 2024-02-13T05:43:56Z canonical: "docx.syndigo.com/unloading" --- > ## Documentation Index > Fetch the complete documentation index at: https://docx.syndigo.com/llms.txt > Use this file to discover all available pages before exploring further. # unloading If looking to unload mosaic from the page, simply remove it from the document, and it will be cleaned up automatically: ``` const m = document.querySelector('syndigo-mosaic') m.remove() // destroy the mosaic and cleanup it's internals ```