mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - For Directives .d.ts
This commit is contained in:
parent
7cb1814a1d
commit
8268c74a99
6 changed files with 691 additions and 661 deletions
75
components/lib/ripple/Ripple.d.ts
vendored
75
components/lib/ripple/Ripple.d.ts
vendored
|
@ -8,6 +8,45 @@
|
|||
*/
|
||||
import { DirectiveBinding, ObjectDirective } from 'vue';
|
||||
|
||||
/**
|
||||
* Defines options of Ripple.
|
||||
*/
|
||||
export interface RippleOptions {
|
||||
/**
|
||||
* Uses to pass attributes to DOM elements inside the component.
|
||||
* @type {RipplePassThroughOptions}
|
||||
*/
|
||||
pt?: RipplePassThroughOptions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom passthrough(pt) options.
|
||||
* @see {@link RippleOptions.pt}
|
||||
*/
|
||||
export interface RipplePassThroughOptions {
|
||||
/**
|
||||
* Uses to pass attributes to the root's DOM element.
|
||||
* @see {@link RipplePassThroughDirectiveOptions}
|
||||
*/
|
||||
root?: RipplePassThroughDirectiveOptions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom passthrough(pt) directive options.
|
||||
*/
|
||||
export interface RipplePassThroughDirectiveOptions {
|
||||
/**
|
||||
* Uses to pass attributes to the life cycle hooks.
|
||||
* @see {@link RipplePassThroughHooksOptions}
|
||||
*/
|
||||
hooks?: RipplePassThroughHooksOptions;
|
||||
/**
|
||||
* Uses to pass attributes to the styles.
|
||||
* @see {@link RipplePassThroughCSSOptions}
|
||||
*/
|
||||
css?: RipplePassThroughCSSOptions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom passthrough(pt) hooks options.
|
||||
*/
|
||||
|
@ -56,42 +95,6 @@ export interface RipplePassThroughCSSOptions {
|
|||
style?: any;
|
||||
}
|
||||
|
||||
export interface RipplePassThroughDirectiveOptions {
|
||||
/**
|
||||
* Uses to pass attributes to the life cycle hooks.
|
||||
* @see {@link RipplePassThroughHooksOptions}
|
||||
*/
|
||||
hooks?: RipplePassThroughHooksOptions;
|
||||
/**
|
||||
* Uses to pass attributes to the styles.
|
||||
* @see {@link RipplePassThroughCSSOptions}
|
||||
*/
|
||||
css?: RipplePassThroughCSSOptions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom passthrough(pt) options.
|
||||
* @see {@link RippleOptions.pt}
|
||||
*/
|
||||
export interface RipplePassThroughOptions {
|
||||
/**
|
||||
* Uses to pass attributes to the root's DOM element.
|
||||
* @see {@link RipplePassThroughDirectiveOptions}
|
||||
*/
|
||||
root?: RipplePassThroughDirectiveOptions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines options of Ripple.
|
||||
*/
|
||||
export interface RippleOptions {
|
||||
/**
|
||||
* Uses to pass attributes to DOM elements inside the component.
|
||||
* @type {RipplePassThroughOptions}
|
||||
*/
|
||||
pt?: RipplePassThroughOptions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Binding of Ripple directive.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue