UNPKG

@gravatar-com/quick-editor

Version:

A lightweight library to provide seamless Gravatar profile management for third-party sites

16 lines 604 B
import { ProfileUpdatedType, Scope } from './quick-editor-core'; export type QuickEditorOptions = { email: string; editorTriggerSelector: string; avatarSelector?: string; scope?: Scope; locale?: string; avatarRefreshDelay?: number; }; export default class GravatarQuickEditor { _avatarList: NodeListOf<HTMLImageElement>; _avatarRefreshDelay: number; constructor({ email, editorTriggerSelector, avatarSelector, scope, locale, avatarRefreshDelay, }: QuickEditorOptions); _onProfileUpdated(type: ProfileUpdatedType): void; } //# sourceMappingURL=quick-editor.d.ts.map