I am trying to set horizontal boolean based on the width of the parent but it looks like, because the variable is set inside ngAfterViewInit, the inifinite scroll directive is not accepting the defined boolean value; Because the resulting behavior in the GUI shows it is always interpreting it as falsy
how do you set the [horizontal] value based on the width of the parent?
I am trying to set horizontal boolean based on the width of the parent but it looks like, because the variable is set inside ngAfterViewInit, the inifinite scroll directive is not accepting the defined boolean value; Because the resulting behavior in the GUI shows it is always interpreting it as falsy
how do you set the [horizontal] value based on the width of the parent?