8 lines
228 B
TypeScript
8 lines
228 B
TypeScript
import AnimeNotifier from "../AnimeNotifier"
|
|
|
|
// Toggle sidebar
|
|
export function toggleSidebar(_: AnimeNotifier) {
|
|
const sidebar = document.getElementById("sidebar") as HTMLElement
|
|
sidebar.classList.toggle("sidebar-visible")
|
|
}
|