Interface SAV
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
import {ref} from "vue";
|
||||
import {nextTick, ref} from "vue";
|
||||
|
||||
export const showModal = ref(0)
|
||||
export const hideModal = ref(0)
|
||||
|
||||
export const suspens = ref(false)
|
||||
export const messages = ref([])
|
||||
|
||||
export const moveToBottom = async (id) => {
|
||||
await nextTick()
|
||||
const objDiv = document.getElementById(id);
|
||||
objDiv.scrollTop = objDiv.scrollHeight;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user