📜  角度动画缩放宽度和高度 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:20.377000             🧑  作者: Mango

代码示例1
export const zoomHover = trigger('zoomHover', [
  state('begin', style({transform: 'scale(1)'})),
  state('end', style({transform: 'scale(1.05)'})),
  transition('begin => end', [
    animate(200)
  ]),
  transition('end => begin', [
    animate(200)
  ]),
]);