vue-socials
Version:
Social media share buttons and counts for Vue.js
57 lines (56 loc) • 2.74 kB
TypeScript
/**
* Hey!
*
* SDevTo component used for DevTo social network
* @link https://dev.to/
* @example https://dev.to/new?prefill=%0A%20%20%20%20%20%20%20%20---%0A%20%20%20%20%20%20%20%20title%3ATitle%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20tags%3Atag%0A%20%20%20%20%20%20%20%20---%0A%20%20%20%20%20%20%20%20Text%201%0AText%202%0A%7B%25%20wikipedia%20https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWikipedia%20%25%7D
*/
import { VNode } from 'vue';
/**
* Share parameters for link
* @link https://dev.to/devteam/announcing-off-platform-share-to-dev-functionality-57j9
*/
export interface ISDevToShareOptions {
title?: string;
isPublished?: boolean;
tags?: string[];
content?: 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<ISDevToShareOptions>;
default: () => ISDevToShareOptions;
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: ISDevToShareOptions;
useNativeBehavior: boolean;
} & {}>, {
windowFeatures: import("../../types/common/windowFeatures").IWindowFeatures;
shareOptions: ISDevToShareOptions;
useNativeBehavior: boolean;
}>, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>;
export default _default;