import { Component, Input } from '@angular/core'; import { NgxExampleView } from '../../enum.example-view'; import { animate, animation, keyframes, style, transition, trigger, useAnimation } from '@angular/animations'; export const pulse = animation( animate( '{{ timing }}s {{ delay }}s', keyframes([ style({ transform: 'scale3d(1, 1, 1)' }), style({ transform: 'scale3d({{ scale }}, {{ scale }}, {{ scale }})' }), style({ transform: 'scale3d(1, 1, 1)' }), ]), ), { params: { scale: 1.02, timing: 0.5, delay: 0 } }, ); @Component({ selector: 'ngx-stacked-example-block', template: `