UNPKG

@stimulus-library/controllers

Version:

A library of useful controllers for Stimulus

15 lines (14 loc) 498 B
import { BaseController } from "@stimulus-library/utilities"; export declare class ConfirmNavigationController extends BaseController { static values: { message: StringConstructor; }; readonly messageValue: string; readonly hasMessageValue: boolean; get _message(): string; connect(): void; disconnect(): void; allowSubmit(_event: Event): void; confirmNavigation(_event: Event | PopStateEvent): boolean; confirmTurboNavigation(event: Event): void; }