vue-socials
Version:
Social media share buttons and counts for Vue.js
47 lines (46 loc) • 2.01 kB
TypeScript
/**
* Hey!
*
* SLineCount component used for Line social network
* @link https://line.me/
*/
/**
* Share parameters for link
* @link https://social-plugins.line.me/en/how_to_install#lineitbutton
*/
export interface ISLineCountShareOptions {
url: string;
}
export interface ISLineResult {
share: number;
}
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {
handlePinterestResponse(data: ISLineResult): void;
}, import("vue").DefineComponent<{
tag: {
type: (ObjectConstructor | StringConstructor)[];
default: string;
};
shareOptions: {
type: ObjectConstructor;
default: () => ISLineCountShareOptions | (new (...args: any[]) => ISLineCountShareOptions & object) | (() => ISLineCountShareOptions) | ((new (...args: any[]) => ISLineCountShareOptions & object) | (() => ISLineCountShareOptions))[];
required: true;
};
}, unknown, import("../../mixins/BaseCount/BaseCount").TBaseCountDataOptions<ISLineResult>, {
ariaLabel(): string;
}, {
handleResult(value: ISLineResult): 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;