UNPKG

primevue

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue) [![Discord Chat](https://img.shields.io/discord/55794023

24 lines (21 loc) 566 B
export interface ComponentHooks { onBeforeCreate?(): void; onCreated?(): void; onBeforeMount?(): void; onMounted?(): void; onBeforeUpdate?(): void; onUpdated?(): void; onBeforeUnmount?(): void; onUnmounted?(): void; } export interface BaseComponentPassThroughOptions { hooks?: ComponentHooks; } /** * @todo Update all d.ts with it. */ export interface BaseComponentPassThroughMethodOptions<I = any, P = any, S = any> { instance?: I | undefined | null; props?: P | undefined | null; state?: S | undefined | null; }