UNPKG

vue-socials

Version:

Social media share buttons and counts for Vue.js

56 lines (55 loc) 2.42 kB
/** * Hey! * * STwitter component used for Twitter social network * @link https://twitter.com/ */ import { VNode } from 'vue'; /** * Share parameters for link * @link https://developer.twitter.com/en/docs/twitter-for-websites/tweet-button/overview */ export interface ISTwitterShareOptions { text?: string; url?: string; hashtags?: string[]; via?: 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<ISTwitterShareOptions>; default: () => ISTwitterShareOptions; 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: ISTwitterShareOptions; useNativeBehavior: boolean; } & {}>, { windowFeatures: import("../../types/common/windowFeatures").IWindowFeatures; shareOptions: ISTwitterShareOptions; useNativeBehavior: boolean; }>, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>; export default _default;