vue-socials
Version:
Social media share buttons and counts for Vue.js
54 lines (53 loc) • 2.14 kB
TypeScript
/**
* Hey!
*
* STumblrCount component used for Tumblr social network
* @link https://tumblr.com/
*/
/**
* Share parameters for link
* @link https://www.tumblr.com/docs/en/share_button
*/
export interface ISTumblrCountShareOptions {
url: string;
}
export interface ISTumblrResult {
meta: {
status: number;
msg: string;
};
response: {
url: string;
note_count: number;
};
}
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {
handleTumblrResponse(data: ISTumblrResult): void;
}, import("vue").DefineComponent<{
tag: {
type: (ObjectConstructor | StringConstructor)[];
default: string;
};
shareOptions: {
type: ObjectConstructor;
default: () => ISTumblrCountShareOptions | (new (...args: any[]) => ISTumblrCountShareOptions & object) | (() => ISTumblrCountShareOptions) | ((new (...args: any[]) => ISTumblrCountShareOptions & object) | (() => ISTumblrCountShareOptions))[];
required: true;
};
}, unknown, import("../../mixins/BaseCount/BaseCount").TBaseCountDataOptions<ISTumblrResult>, {
ariaLabel(): string;
}, {
handleResult(value: ISTumblrResult): void;
handleError(value: string | Error | null): void;
handleLoading(value: boolean): void;
handleCount(count: number | undefined): void;
generateComponent(): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "loading" | "load")[], "error" | "loading" | "load", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
tag: string;
shareOptions: Record<string, any>;
} & {}>, {
tag: string;
shareOptions: Record<string, any>;
}>, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {}>, {}>;
export default _default;