mirror of https://github.com/abpframework/abp.git
3 changed files with 21 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||
import { trigger, state, style, transition, animate } from '@angular/animations'; |
|||
|
|||
export const collapse = trigger('collapse', [ |
|||
state( |
|||
'open', |
|||
style({ |
|||
height: '*', |
|||
overflow: 'hidden', |
|||
}), |
|||
), |
|||
state( |
|||
'close', |
|||
style({ |
|||
height: '0px', |
|||
overflow: 'hidden', |
|||
}), |
|||
), |
|||
transition('open <=> close', animate(350)), |
|||
]); |
|||
@ -1,2 +1,3 @@ |
|||
export * from './collapse.animations'; |
|||
export * from './fade.animations'; |
|||
export * from './slide.animations'; |
|||
|
|||
Loading…
Reference in new issue