Bind component variable to pipe filter
问题 i have a problem when passing values to my pipe filter. I need to pass an argument value in the form of a variable called pagex from my component and I cant find the syntax to make it work... or I'm missing something. Thanks for the help. myComponent export class ItemsComponent { items:any[] pagex:number; constructor(private ItemService:ItemService){ this.ItemService.getItems() .subscribe(items =>{ this.items=items; this.pagex=2; }); } The following, passing the value manually, works: <div