@stimulus-library/controllers
Version:
A library of useful controllers for Stimulus
12 lines (11 loc) • 399 B
TypeScript
import { BaseController } from "@stimulus-library/utilities";
export declare class ScrollToBottomController extends BaseController {
static values: {
mode: StringConstructor;
};
modeValue: "nearest" | "document";
hasModeValue: boolean;
get _mode(): "nearest" | "document";
get _scrollTarget(): HTMLElement | Window | null;
scroll(event?: Event): Promise<void>;
}