UNPKG

@feelback/js

Version:

Client side js integration for Feelback service

19 lines (18 loc) 566 B
import { FeelbackStoreType } from "./store"; export * from "./index"; export type FeelbackConfig = { store?: FeelbackStoreType; endpoint?: string; }; export declare function setupFeelback(config?: FeelbackConfig): void; export type FeelbackContainerConfig = { component?: "buttons" | "form"; contentSetId?: string; key?: string; contentId?: string; revokable?: boolean; behavior?: string; expire?: number; showCount?: boolean; }; export declare function getConfigFromElement(el: Element): FeelbackContainerConfig | undefined;