diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-07-03 14:40:02 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-07-03 14:40:02 +0900 |
| commit | 44c85aff86cfa97797880e9b246ea4c75dc82984 (patch) | |
| tree | 73178a011d32e51ae667bd42463209ef037976fa /packages/client/src/components | |
| parent | 12.112.0-beta.13 (diff) | |
| download | sharkey-44c85aff86cfa97797880e9b246ea4c75dc82984.tar.gz sharkey-44c85aff86cfa97797880e9b246ea4c75dc82984.tar.bz2 sharkey-44c85aff86cfa97797880e9b246ea4c75dc82984.zip | |
feat(client): status bar (experimental)
Diffstat (limited to 'packages/client/src/components')
| -rw-r--r-- | packages/client/src/components/global/sticky-container.vue | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/client/src/components/global/sticky-container.vue b/packages/client/src/components/global/sticky-container.vue index 2603fac55d..44f4f065a6 100644 --- a/packages/client/src/components/global/sticky-container.vue +++ b/packages/client/src/components/global/sticky-container.vue @@ -9,11 +9,15 @@ </div> </template> +<script lang="ts"> +// なんか動かない +//const CURRENT_STICKY_TOP = Symbol('CURRENT_STICKY_TOP'); +const CURRENT_STICKY_TOP = 'CURRENT_STICKY_TOP'; +</script> + <script lang="ts" setup> import { onMounted, onUnmounted, provide, inject, Ref, ref, watch } from 'vue'; -const CURRENT_STICKY_TOP = Symbol('CURRENT_STICKY_TOP'); - const rootEl = $ref<HTMLElement>(); const headerEl = $ref<HTMLElement>(); const bodyEl = $ref<HTMLElement>(); |