boutique replica bags up ideas

the best replique rolex and prices here.

julia highlight 99j hair color 10a quality straight human hair lace front wigs 8 - 24 inches pre plucked hairline 13x4 inches lace front brazilian wig onlinefor sale

“Banana in a box” input-output in your Angular component

Updated on     Kisan Patel

How to make “Banana in a box” input-output in your Angular component?

some-component.ts

@Component({ selector: 'some-component' })
export class SomeComponent {
   @Input() value = 1;

   //inout and output have the same name but output has also "Change" postfix
   @Output() readonly valueChange = new EventEmitter<number>();

   //...
}

Usage:

Most common way of usage

<some-component [value]="value" (valueChange)="onValueChage($event)" >

But is also works with BANANA IN A BOX

<some-component [(value)]="value">

Angular

Leave a Reply