mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
feature: modal darowizn
This commit is contained in:
@@ -35,17 +35,6 @@ export default defineComponent({
|
||||
this.$nextTick(() => {
|
||||
contentEl.focus();
|
||||
});
|
||||
},
|
||||
|
||||
methods: {
|
||||
handleContentScroll(e: Event) {
|
||||
const trainInfoCompHeight: number = (
|
||||
this.$refs['trainInfo'] as any
|
||||
).$el.getBoundingClientRect().height;
|
||||
|
||||
const posTop = (e.target as HTMLElement).scrollTop;
|
||||
this.isTopBarVisible = posTop > trainInfoCompHeight;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user