⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
invoice
/
node_modules
/
vue2-teleport
/
Edit File: README.md
vue2-teleporter ---------------------------------------------------------------- This package is an alternative to [vue3's teleport] component. You can use the documentation provided by vue as a starting point to using this package. ## Example ```vue <template> <div> <button @click="modalOpen = true"> Open full screen modal! (With teleport!) </button> <Teleport to="body"> <div v-if="modalOpen" class="modal"> <div> I'm a teleported modal! (My parent is "body") <button @click="modalOpen = false"> Close </button> </div> </div> </Teleport> </div> </template> <script> import Teleport from 'vue2-teleport'; export default { components: { Teleport, }, data() { return { modalOpen: false } } } </script> ``` [vue3's teleport]: https://v3.vuejs.org/guide/teleport.html
Simpan