vue-tippy 6.0.0-alpha.38 → 6.0.0-alpha.41

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,9 +37,17 @@ export declare const Tippy: import("vue").DefineComponent<ComponentObjectPropsOp
37
37
  enable: () => void;
38
38
  unmount: () => void;
39
39
  mount: () => void;
40
+ state: import("vue").Ref<{
41
+ isEnabled: boolean;
42
+ isVisible: boolean;
43
+ isDestroyed: boolean;
44
+ isMounted: boolean;
45
+ isShown: boolean;
46
+ }>;
40
47
  elem: import("vue").Ref<Element | undefined>;
41
48
  contentElem: import("vue").Ref<Element | undefined>;
42
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
49
+ mounted: import("vue").Ref<boolean>;
50
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "state"[], "state", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
43
51
  [x: string]: any;
44
52
  }>, {}>;
45
53
  export { tippy }
@@ -748,7 +756,7 @@ export declare const TippySingleton: import("vue").DefineComponent<ComponentObje
748
756
  destroy: () => void;
749
757
  forceUpdate: () => void;
750
758
  update: () => Promise<Partial<import("@popperjs/core").State>>;
751
- setOptions: (options: Partial<import("@popperjs/core").OptionsGeneric<any>>) => Promise<Partial<import("@popperjs/core").State>>;
759
+ setOptions: (setOptionsAction: Partial<import("@popperjs/core").OptionsGeneric<any>> | ((prev: Partial<import("@popperjs/core").OptionsGeneric<any>>) => Partial<import("@popperjs/core").OptionsGeneric<any>>)) => Promise<Partial<import("@popperjs/core").State>>;
752
760
  } | null;
753
761
  props: any;
754
762
  reference: import("tippy.js").ReferenceElement<any>;
@@ -790,6 +798,13 @@ export declare function useTippy(el: Element | (() => Element) | Ref<Element> |
790
798
  enable: () => void;
791
799
  unmount: () => void;
792
800
  mount: () => void;
801
+ state: Ref<{
802
+ isEnabled: boolean;
803
+ isVisible: boolean;
804
+ isDestroyed: boolean;
805
+ isMounted: boolean;
806
+ isShown: boolean;
807
+ }>;
793
808
  };
794
809
 
795
810
  export declare function useTippyComponent(opts?: TippyOptions, children?: any): {