2019-04-13 20:44:04 +00:00
|
|
|
<template>
|
2022-06-19 00:25:21 +00:00
|
|
|
<button class="lt" aria-label="Toggle channel list" @click="store.commit('toggleSidebar')" />
|
2019-04-13 20:44:04 +00:00
|
|
|
</template>
|
|
|
|
|
2022-06-19 00:25:21 +00:00
|
|
|
<script lang="ts">
|
|
|
|
import {defineComponent} from "vue";
|
|
|
|
import {useStore} from "../js/store";
|
|
|
|
|
|
|
|
export default defineComponent({
|
2019-04-13 20:44:04 +00:00
|
|
|
name: "SidebarToggle",
|
2022-06-19 00:25:21 +00:00
|
|
|
setup() {
|
|
|
|
const store = useStore();
|
|
|
|
|
|
|
|
return {
|
|
|
|
store,
|
|
|
|
};
|
|
|
|
},
|
|
|
|
});
|
2019-04-13 20:44:04 +00:00
|
|
|
</script>
|