mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4866 - StyleClass: deprecate enterClass/leaveClass use enterFromClass/leaveFromClass
This commit is contained in:
parent
cf1ee45e4c
commit
5088314e3f
2 changed files with 30 additions and 0 deletions
10
components/lib/styleclass/StyleClass.d.ts
vendored
10
components/lib/styleclass/StyleClass.d.ts
vendored
|
@ -21,8 +21,13 @@ export interface StyleClassOptions {
|
|||
selector?: '@next' | '@prev' | '@parent' | '@grandparent' | string | undefined;
|
||||
/**
|
||||
* Style class to add when item begins to get displayed.
|
||||
* @deprecated since v3.41.0. Use 'enterFromClass' option instead.
|
||||
*/
|
||||
enterClass?: string | undefined;
|
||||
/**
|
||||
* Style class to add when item begins to get displayed.
|
||||
*/
|
||||
enterFromClass?: string | undefined;
|
||||
/**
|
||||
* Style class to add during enter animation.
|
||||
*/
|
||||
|
@ -33,8 +38,13 @@ export interface StyleClassOptions {
|
|||
enterToClass?: string | undefined;
|
||||
/**
|
||||
* Style class to add when item begins to get hidden.
|
||||
* @deprecated since v3.41.0. Use 'leaveFromClass' option instead.
|
||||
*/
|
||||
leaveClass?: string | undefined;
|
||||
/**
|
||||
* Style class to add when item begins to get hidden.
|
||||
*/
|
||||
leaveFromClass?: string | undefined;
|
||||
/**
|
||||
* Style class to add during leave animation.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue