UNPKG

vue-socials

Version:

Social media share buttons and counts for Vue.js

54 lines (53 loc) 2.36 kB
/** * Hey! * * SWhatsApp component used for WhatsApp social network * @link https://whatsapp.com */ import { VNode } from 'vue'; /** * Share parameters for link * @link https://faq.whatsapp.com/general/chats/how-to-use-click-to-chat */ export interface ISWhatsAppShareOptions { number: string; text?: string; } declare const _default: import("vue").DefineComponent<{}, {}, {}, { networkURL(): string; }, {}, import("vue").DefineComponent<{ windowFeatures: { type: import("vue").PropType<import("../../types/common/windowFeatures").IWindowFeatures>; default: () => import("../../types/common/windowFeatures").IWindowFeatures | { width: number; height: number; }; required: boolean | undefined; }; shareOptions: { type: import("vue").PropType<ISWhatsAppShareOptions>; default: () => ISWhatsAppShareOptions; required: true; }; useNativeBehavior: { type: import("vue").PropType<boolean>; default: boolean; }; }, unknown, import("../../mixins/BaseSocial/BaseSocial").IBaseSocialDataOptions, { mergedWindowFeatures(): import("../../types/common/windowFeatures").IWindowFeatures; ariaLabel(): string; }, { openShareDialog(url: string): void; generateComponent(url: string): VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>; }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "popup-block" | "popup-open" | "popup-close" | "popup-focus")[], "click" | "popup-block" | "popup-open" | "popup-close" | "popup-focus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ windowFeatures: import("../../types/common/windowFeatures").IWindowFeatures; shareOptions: ISWhatsAppShareOptions; useNativeBehavior: boolean; } & {}>, { windowFeatures: import("../../types/common/windowFeatures").IWindowFeatures; shareOptions: ISWhatsAppShareOptions; useNativeBehavior: boolean; }>, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>; export default _default;