ngx-simple-parallax-js
Advanced tools
Comparing version
import { ElementRef, OnDestroy, OnInit } from '@angular/core'; | ||
import { IParallaxConfig } from './ngx-simple-parallax-js.interface'; | ||
import * as i0 from "@angular/core"; | ||
export interface IParallaxConfig { | ||
orientation?: 'up' | 'down' | 'left' | 'right' | 'up left' | 'up right' | 'down left' | 'down right'; | ||
scale?: number; | ||
overflow?: boolean; | ||
delay?: number; | ||
transition?: string; | ||
customContainer?: string | HTMLElement; | ||
customWrapper?: string; | ||
maxTransition?: number; | ||
} | ||
export declare class NgxSimpleParallaxJsDirective implements OnInit, OnDestroy { | ||
private _platformId; | ||
private _el; | ||
private get _isBrowser(); | ||
set parallaxConfig(config: IParallaxConfig); | ||
private _parallaxConfig; | ||
private _parallax; | ||
constructor(_el: ElementRef<Element>); | ||
constructor(_platformId: object, _el: ElementRef<Element>); | ||
ngOnInit(): void; | ||
@@ -15,1 +26,6 @@ ngOnDestroy(): void; | ||
} | ||
export declare class NgxSimpleParallaxJsModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgxSimpleParallaxJsModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSimpleParallaxJsModule, [typeof NgxSimpleParallaxJsDirective], never, [typeof NgxSimpleParallaxJsDirective]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<NgxSimpleParallaxJsModule>; | ||
} |
{ | ||
"name": "ngx-simple-parallax-js", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"author": "Gesiel Rosa <me@gesiel.com> (https://github.com/gesielrosa/)", | ||
@@ -5,0 +5,0 @@ "description": "This library allows you to use simpleParallax.js in Angular easily.", |
export * from './lib/ngx-simple-parallax-js.directive'; | ||
export * from './lib/ngx-simple-parallax-js.interface'; | ||
export * from './lib/ngx-simple-parallax-js.module'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
25814
5.93%217
11.86%0
-100%12
-25%3
50%