chore(client): tweak ui

This commit is contained in:
syuilo
2022-07-16 13:49:23 +09:00
parent 4f9b03a997
commit 57e533a5ef
5 changed files with 14 additions and 13 deletions

View File

@ -7,10 +7,11 @@ import { popup, alert } from '@/os';
const start = isTouchUsing ? 'touchstart' : 'mouseover';
const end = isTouchUsing ? 'touchend' : 'mouseleave';
const delay = 100;
export default {
mounted(el: HTMLElement, binding, vn) {
const delay = binding.modifiers.noDelay ? 0 : 100;
const self = (el as any)._tooltipDirective_ = {} as any;
self.text = binding.value as string;