@stimulus-library/controllers
Version:
A library of useful controllers for Stimulus
16 lines (15 loc) • 503 B
TypeScript
import { EphemeralController } from "@stimulus-library/utilities";
export declare class ScrollIntoFocusController extends EphemeralController {
static values: {
behavior: StringConstructor;
block: StringConstructor;
inline: StringConstructor;
};
behaviorValue: ScrollBehavior;
hasBehaviorValue: boolean;
blockValue: ScrollLogicalPosition;
hasBlockValue: boolean;
inlineValue: ScrollLogicalPosition;
hasInlineValue: boolean;
connect(): void;
}