vue-socials
Version:
Social media share buttons and counts for Vue.js
47 lines (46 loc) • 2.09 kB
TypeScript
/**
* Hey!
*
* SOdnoklassnikiCount component used for Odnoklassniki (English: "Classmates") social network
* @link https://ok.ru/
*/
/**
* Share parameters for link
* @link https://apiok.ru/en/ext/like
*/
export interface ISOdnoklassnikiCountShareOptions {
ref: string;
}
export interface ISOdnoklassnikiResult {
count: number;
}
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {
handleOKResponse(count: number): void;
}, import("vue").DefineComponent<{
tag: {
type: (ObjectConstructor | StringConstructor)[];
default: string;
};
shareOptions: {
type: ObjectConstructor;
default: () => ISOdnoklassnikiCountShareOptions | (new (...args: any[]) => ISOdnoklassnikiCountShareOptions & object) | (() => ISOdnoklassnikiCountShareOptions) | ((new (...args: any[]) => ISOdnoklassnikiCountShareOptions & object) | (() => ISOdnoklassnikiCountShareOptions))[];
required: true;
};
}, unknown, import("../../mixins/BaseCount/BaseCount").TBaseCountDataOptions<ISOdnoklassnikiResult>, {
ariaLabel(): string;
}, {
handleResult(value: ISOdnoklassnikiResult): 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;