@stimulus-library/utilities
Version:
A library of useful controllers for Stimulus
6 lines (5 loc) • 422 B
TypeScript
import { Controller } from "@hotwired/stimulus";
export declare function logProperty(prop: string): boolean;
export declare function log(controller: Controller, functionName: string, args?: object): void;
export declare function warn(controller: Controller, warning: string, args?: object): void;
export declare function logEvent(controller: Controller, eventName: string, event: CustomEvent, element: HTMLElement): void;