@wdns/vue-easter-egg-trigger
Version:
Presenting the Vue Easter Egg Trigger, a tool that discreetly injects a touch of unexpectedness into Vue.js projects. This unassuming plugin, which operates on both keystrokes (with click events also available), brings hidden surprises to your application
28 lines (27 loc) • 675 B
TypeScript
import VEasterEggTrigger from '../VEasterEggTrigger.vue';
export * from '../index';
export type Entry<T> = {
[K in keyof T]: [K, T[K]];
}[keyof T];
export interface Props {
callback?: (settings: Props) => void;
destroy?: boolean | undefined;
delay?: number;
pattern?: string[];
persist?: boolean;
target?: string;
type?: string;
}
export interface Targets {
nodes: string[];
ids: string[];
classNames: string[];
}
declare module "vue" {
interface ComponentCustomProperties {
}
interface GlobalComponents {
EasterEggTrigger: typeof VEasterEggTrigger;
VEasterEggTrigger: typeof VEasterEggTrigger;
}
}