From 79a61a2a2b9fd86747ba4e93b80244f5ecb5e9b1 Mon Sep 17 00:00:00 2001 From: Ronan Berder Date: Sat, 21 Jun 2025 17:35:55 +0800 Subject: [PATCH] Fixing typo --- docs/src/components/sidebar.njk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}' } }));).