type ElementInput = string | HTMLElement | HTMLElement[];
interface Options {
elements: ElementInput;
containerSelector: string;
containerElement: HTMLElement | null;
additionalMarginTop: number;
additionalMarginBottom: number;
updateSidebarHeight: boolean;
minWidth: number;
disableOnResponsiveLayouts: boolean;
sidebarBehavior: string;
defaultPosition: string;
verbose: boolean;
}
type StickyGumOptions = Partial & {
container?: string | HTMLElement;
sidebar?: ElementInput;
offsetTop?: number;
offsetBottom?: number;
};
declare class StickyGum {
private options;
private elements;
private initialized;
private sidebarStates;
constructor(options: StickyGumOptions);
private tryInitOrHookIntoEvents;
private delayedInit;
private tryInit;
private init;
unbind(): void;
}
export { StickyGum as default };
export type { StickyGumOptions as Options };