403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /framework7/node_modules/framework7-vue/shared/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /framework7/node_modules/framework7-vue/shared/use-tab.js
import { onMounted, onBeforeUnmount } from 'vue';
import { f7, f7ready } from './f7.js';
export const useTab = (elRef, emit) => {
  const onTabShow = el => {
    if (elRef.value !== el) return;
    emit('tab:show', el);
  };
  const onTabHide = el => {
    if (elRef.value !== el) return;
    emit('tab:hide', el);
  };
  onMounted(() => {
    if (!elRef.value) return;
    f7ready(() => {
      f7.on('tabShow', onTabShow);
      f7.on('tabHide', onTabHide);
    });
  });
  onBeforeUnmount(() => {
    if (!f7) return;
    f7.off('tabShow', onTabShow);
    f7.off('tabHide', onTabHide);
  });
};

Youez - 2016 - github.com/yon3zu
LinuXploit