mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #3965 - For StyleClass
This commit is contained in:
parent
0746ad86ac
commit
c7c08b6c96
2 changed files with 52 additions and 4 deletions
45
components/lib/styleclass/StyleClass.d.ts
vendored
45
components/lib/styleclass/StyleClass.d.ts
vendored
|
@ -8,6 +8,51 @@
|
|||
*/
|
||||
import { DirectiveBinding, ObjectDirective } from 'vue';
|
||||
|
||||
/**
|
||||
* Custom passthrough(pt) hooks options.
|
||||
*/
|
||||
export interface StyleClassPassThroughHooksOptions {
|
||||
/**
|
||||
* Called before bound element's attributes or event listeners are applied.
|
||||
*/
|
||||
created?: DirectiveBinding;
|
||||
/**
|
||||
* Called right before the element is inserted into the DOM.
|
||||
*/
|
||||
beforeMount?: DirectiveBinding;
|
||||
/**
|
||||
* Called when the bound element's parent component and all its children are mounted.
|
||||
*/
|
||||
mounted?: DirectiveBinding;
|
||||
/**
|
||||
* Called before the parent component is updated.
|
||||
*/
|
||||
beforeUpdate?: DirectiveBinding;
|
||||
/**
|
||||
* Called after the parent component and all of its children have updated all of its children have updated.
|
||||
*/
|
||||
updated?: DirectiveBinding;
|
||||
/**
|
||||
* Called before the parent component is unmounted.
|
||||
*/
|
||||
beforeUnmount?: DirectiveBinding;
|
||||
/**
|
||||
* Called when the parent component is unmounted.
|
||||
*/
|
||||
unmounted?: DirectiveBinding;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines passthrough(pt) options.
|
||||
*/
|
||||
export interface StyleClassPassThroughDirectiveOptions {
|
||||
/**
|
||||
* Uses to pass attributes to the life cycle hooks.
|
||||
* @see {@link StyleClassPassThroughHooksOptions}
|
||||
*/
|
||||
hooks?: StyleClassPassThroughHooksOptions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines options of StyleClass.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue