vue-socials
Version:
Social media share buttons and counts for Vue.js
60 lines (59 loc) • 2.69 kB
TypeScript
/**
* Hey!
*
* SFacebookMessenger component used for FacebookMessenger social network
* @link https://facebook.com/
* @example https://www.facebook.com/dialog/send?link=https%3A%2F%2Fgithub.com%2F&app_id=123456789&redirect_uri=https%3A%2F%2Fwww.domain.com%2F
*/
import { VNode } from 'vue';
/**
* Share parameters for link
* @link https://developers.facebook.com/docs/sharing/reference/send-dialog#examples
* url => link
* appId => app_id
* redirectUri => redirect_uri
*/
export interface ISFacebookMessengerShareOptions {
url: string;
appId: number;
redirectUri?: string;
to?: 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<ISFacebookMessengerShareOptions>;
default: () => ISFacebookMessengerShareOptions;
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: ISFacebookMessengerShareOptions;
useNativeBehavior: boolean;
} & {}>, {
windowFeatures: import("../../types/common/windowFeatures").IWindowFeatures;
shareOptions: ISFacebookMessengerShareOptions;
useNativeBehavior: boolean;
}>, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>;
export default _default;