Docs: Document UNCLOSEAI_FLOATING_BUTTON in index.html and demo.html
Updated index.html to correctly show the script tag for disabling the floating button. Also added the same documentation to demo.html for consistency.
This commit is contained in:
parent
f8a146f241
commit
a5fd6902ba
2 changed files with 4 additions and 1 deletions
|
|
@ -36,6 +36,9 @@
|
|||
|
||||
// Disable custom styling for uncloseai.js - use PicoCSS instead
|
||||
window.UNCLOSEAI_CUSTOM_STYLING = false;
|
||||
|
||||
// Disable the floating button
|
||||
window.UNCLOSEAI_FLOATING_BUTTON = false;
|
||||
</script>
|
||||
|
||||
<script src="https://uncloseai.com/uncloseai.js" type="module"></script>
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
<p>To disable the floating button (if you only want the API functions):</p>
|
||||
<pre><code class="javascript"><script>
|
||||
|
||||
window.UNCLOSEAI_FLOATING_BUTTON = false;
|
||||
</script></code></pre>
|
||||
|
||||
<h4>Class-Based Integration</h4>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue