UNPKG

@stimulus-library/controllers

Version:

A library of useful controllers for Stimulus

21 lines (20 loc) 644 B
import { BaseController } from "@stimulus-library/utilities"; export declare class TurboFrameRCController extends BaseController { static values: { frameId: StringConstructor; src: StringConstructor; loadingMessage: StringConstructor; }; readonly frameIdValue: string; readonly srcValue: string; readonly hasSrcValue: boolean; readonly loadingMessageValue: string; readonly hasLoadingMessageValue: boolean; toggle(event?: Event): void; setSrc(event?: Event): void; clear(event?: Event): void; private _setSrc; private _clear; private _getFrame; private _getSrc; }