diff --git a/docs/src/components/sidebar.njk b/docs/src/components/sidebar.njk index 51e999c..4db532c 100644 --- a/docs/src/components/sidebar.njk +++ b/docs/src/components/sidebar.njk @@ -148,8 +148,8 @@ toc:
<main>
A wrapper for the content of the page.
-
<button type="button" onclick="document.dispatchEvent(new CustomEvent('sidebar:toggle'))">
-
A button to toggle the sidebar. If you want to use multiple sidebars you will need to add unique ids to the sidebars (i.e. <aside class="sidebar" id="{SIDEBAR_ID}">) and refer to them in the event detail (i.e. document.dispatchEvent(new CustomEvent('sidebar:toggle', { detail: { id: '{SIDEBAR_ID}' } }));).
+
<button type="button" onclick="document.dispatchEvent(new CustomEvent('basecoat:sidebar'))">
+
A button to toggle the sidebar. If you want to use multiple sidebars you will need to add unique ids to the sidebars (i.e. <aside class="sidebar" id="{SIDEBAR_ID}">) and refer to them in the event detail (i.e. document.dispatchEvent(new CustomEvent('basecoat:sidebar', { detail: { id: '{SIDEBAR_ID}' } }));).