Skip to content

v5.1.0

Compare
Choose a tag to compare
@aitboudad aitboudad released this 11 Jul 19:05
· 21 commits to main since this release
b9a9917

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 } }],
  ]
})

Features