File size: 163 Bytes
8b9f7d9
 
 
 
 
1
2
3
4
5
6
import { Directive } from 'vue';

export const vVisible: Directive = {
  mounted: (el, binding) => el.style.visibility = !!binding.value ? 'visible' : 'hidden',
}