vue-socials
Version:
Social media share buttons and counts for Vue.js
59 lines (58 loc) • 2.45 kB
TypeScript
/**
* Hey!
*
* SMailRu component used for Mail.ru social network
* @link https://my.mail.ru/
*/
import { VNode } from 'vue';
/**
* Share parameters for link
* @link https://api.mail.ru/sites/plugins/share/extended/
*/
export interface ISMailRuShareOptions {
url: string;
title?: string;
description?: string;
image?: string;
swfUrl?: string;
width?: number;
height?: number;
}
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<ISMailRuShareOptions>;
default: () => ISMailRuShareOptions;
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: ISMailRuShareOptions;
useNativeBehavior: boolean;
} & {}>, {
windowFeatures: import("../../types/common/windowFeatures").IWindowFeatures;
shareOptions: ISMailRuShareOptions;
useNativeBehavior: boolean;
}>, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>;
export default _default;