Fixed #4866 - StyleClass: deprecate enterClass/leaveClass use enterFromClass/leaveFromClass

This commit is contained in:
tugcekucukoglu 2023-11-22 16:19:12 +03:00
parent cf1ee45e4c
commit 5088314e3f
2 changed files with 30 additions and 0 deletions

View file

@ -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.
*/