UNPKG

vue-socials

Version:

Social media share buttons and counts for Vue.js

63 lines (62 loc) 2.67 kB
/** * Hey! * * SGithubGist component used for Github Gists social network * @link https://gist.github.com/ * @example https://gist.github.com/ai/e3683b03ba936ade91d33dbc721cd6d8/stargazers */ import { VNode } from 'vue'; declare const GITHUB_LINK_TYPES: { gist: string; star: string; fork: string; download: string; }; export declare type TSGithubLinkType = typeof GITHUB_LINK_TYPES[keyof typeof GITHUB_LINK_TYPES]; /** * Share parameters for link */ export interface ISGithubGistShareOptions { username: string; gistId: string; type: TSGithubLinkType; } declare const _default: import("vue").DefineComponent<{}, {}, {}, { networkURL(): string; ariaLabel(): 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<ISGithubGistShareOptions>; default: () => ISGithubGistShareOptions; 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: ISGithubGistShareOptions; useNativeBehavior: boolean; } & {}>, { windowFeatures: import("../../types/common/windowFeatures").IWindowFeatures; shareOptions: ISGithubGistShareOptions; useNativeBehavior: boolean; }>, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>; export default _default;