mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
parent updates for .d.ts files and apidoc
This commit is contained in:
parent
da84f55507
commit
8eea973282
30 changed files with 1171 additions and 393 deletions
12
components/lib/inputtext/InputText.d.ts
vendored
12
components/lib/inputtext/InputText.d.ts
vendored
|
@ -12,12 +12,12 @@ import { ComponentHooks } from '../basecomponent';
|
|||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type InputTextPassThroughOptionType = InputTextPassThroughAttributes | ((options: InputTextPassThroughMethodOptions) => InputTextPassThroughAttributes | string) | string | null | undefined;
|
||||
export declare type InputTextPassThroughOptionType<T = any> = InputTextPassThroughAttributes | ((options: InputTextPassThroughMethodOptions<T>) => InputTextPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
/**
|
||||
* Custom passthrough(pt) option method.
|
||||
*/
|
||||
export interface InputTextPassThroughMethodOptions {
|
||||
export interface InputTextPassThroughMethodOptions<T = any> {
|
||||
/**
|
||||
* Defines instance.
|
||||
*/
|
||||
|
@ -30,6 +30,10 @@ export interface InputTextPassThroughMethodOptions {
|
|||
* Defines current options.
|
||||
*/
|
||||
context: InputTextContext;
|
||||
/**
|
||||
* Defines parent instance.
|
||||
*/
|
||||
parent: T;
|
||||
/**
|
||||
* Defines passthrough(pt) options in global config.
|
||||
*/
|
||||
|
@ -40,11 +44,11 @@ export interface InputTextPassThroughMethodOptions {
|
|||
* Custom passthrough(pt) options.
|
||||
* @see {@link InputTextProps.pt}
|
||||
*/
|
||||
export interface InputTextPassThroughOptions {
|
||||
export interface InputTextPassThroughOptions<T = any> {
|
||||
/**
|
||||
* Used to pass attributes to the root's DOM element.
|
||||
*/
|
||||
root?: InputTextPassThroughOptionType;
|
||||
root?: InputTextPassThroughOptionType<T>;
|
||||
/**
|
||||
* Used to manage all lifecycle hooks.
|
||||
* @see {@link BaseComponent.ComponentHooks}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue