v5.1.0
Added a new global config to adjust the latency threshold which allows controlling the initial delay time to wait before displaying the loading bar. By default the latencyThreshold
is disabled (= 0).
import { LOADING_BAR_CONFIG } from '@ngx-loading-bar/core';
@NgModule({
providers: [
providers: [{ provide: LOADING_BAR_CONFIG, useValue: { latencyThreshold: 100 } }],
]
})