Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular transition animation

      
        content_copy
      
      animations: [
  trigger('openClose', [
    state('true', style({ height: '*' })),
    state('false', style({ height: '0px' })),
    transition('false <=> true', animate(500))
  ])
],
    
Source by angular.io #
 
PREVIOUS NEXT
Tagged: #angular #transition #animation
ADD COMMENT
Topic
Name
4+9 =