🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

nprogress-es

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nprogress-es - npm Package Compare versions

Comparing version
1.5.2
to
1.5.3
+35
index.d.ts
type ProgressSetting = {
minimum: number;
easing: 'linear' | string;
positionUsing: string;
speed: number;
trickle: boolean;
trickleSpeed: number;
showSpinner: boolean;
barSelector: string;
spinnerSelector: string;
parent: string;
template: string;
};
declare class NProgress {
settings: ProgressSetting;
constructor(settings?: ProgressSetting);
get isRendered(): boolean;
status: number | null;
isStarted: boolean;
configure(options: Partial<ProgressSetting>): void;
set(n: number): void;
start(): void;
done(force?: boolean): void | this;
inc(amount?: number): void;
private render;
remove(): void;
trickle(): void;
private barPositionCSS;
private getPositioningCSS;
create(settings: ProgressSetting): NProgress;
}
declare const nprogress: NProgress;
export { type ProgressSetting, nprogress as default };
+1
-1
{
"name": "nprogress-es",
"version": "1.5.2",
"version": "1.5.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "nprogress rewrite with typescript",