Change Component input properties


Hi -
I need to change the component like ion-infinite-scroll input property at run time.

It is required to be changed without using the ionInfinite event.

Accessing the component from typescript and set enable value
@ViewChild(‘infScroller’) _infScroller;


but this is not working for me … please help.


I have a similar question:
How can I set the input property in the template file?
I want to make ion-tabs stick to the top and tried to add it as an attribute:
<ion-tabs [tabsPlacement]="top">
But this does not seem to work.
Should I do it differently?

EDIT: OK, I already figured it out:
<ion-tabs tabsPlacement="top">