survey-core
Version:
A framework-independent core of the SurveyJS Form Library that works with rendering packages. Use it to integrate dynamic, interactive JSON-based forms and surveys into your app, collect user responses, and send them to your own database.
15 lines (14 loc) • 467 B
TypeScript
export declare class ScrollViewModel {
private _containerElementValue;
private _scrollbarElement;
private _containerBodyElement;
private _scrollbarSizerElement;
private _containerBodyResizeObserver;
private _lockScroll;
constructor();
setRootElement(element: HTMLElement): void;
onInnerHeightChanged: (hasScroll: boolean) => void;
onScrollContainer(): void;
onScrollScrollbar(): void;
unsubscribeRootElement(): void;
}