Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng-back-to-top

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-back-to-top - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

bundles/ng-back-to-top.umd.js

@@ -115,3 +115,3 @@ (function (global, factory) {

selector: 'ng-back-to-top',
template: "<div #ref>\n <ng-content></ng-content>\n</div>\n<!-- Falback Button -->\n<div class=\"ng-back-to-top fallback-btn\" [ngClass]=\"btnClasses\" [ngStyle]=\"{\n color: color,\n backgroundColor: bgColor\n}\" *ngIf=\"!ref.innerHTML.trim()\">\n <span>\n &uarr;\n </span>\n</div>",
template: "<div #ref>\n <ng-content></ng-content>\n</div>\n<!-- Falback Button -->\n<div class=\"ng-back-to-top fallback-btn\" [ngClass]=\"btnClasses\" [ngStyle]=\"{\n color: color,\n backgroundColor: bgColor\n}\" *ngIf=\"!ref.innerHTML.trim()\">\n <span>\n &#9650;\n </span>\n</div>",
styles: [".ng-back-to-top.fallback-btn{background-color:#000;color:#fff;display:block;width:50px;height:50px;position:fixed;right:1rem;bottom:2rem;cursor:pointer;border-radius:50%;text-align:center;line-height:3;font-weight:bolder;visibility:hidden;opacity:0;transition:opacity .3s,visibility .3s,background-color .3s}.ng-back-to-top svg{display:block;fill:green;height:14px;margin:10px auto 0;width:14px}.ng-back-to-top.ng-back-to-top--fade-out,.ng-back-to-top.ng-back-to-top--show,.ng-back-to-top:hover{transition:opacity .3s,visibility,background-color .3s}.ng-back-to-top.ng-back-to-top--show{visibility:visible;opacity:1}.ng-back-to-top.ng-back-to-top--fade-out{opacity:.5}.ng-back-to-top:hover{background-color:#e86256;opacity:1}"]

@@ -169,2 +169,2 @@ }] }

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYmFjay10by10b3AudW1kLmpzLm1hcC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BQ1BDLG1CQUFZO3lCQUNiO3dCQUNELE9BQU8sRUFBRSxDQUFDLG9CQUFvQixDQUFDO3FCQUNoQzs7UUFDZ0Msd0JBQUM7S0FQbEM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OyJ9

@@ -1,2 +0,2 @@

!function(o,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("ng-back-to-top",["exports","@angular/core","@angular/common"],t):t(o["ng-back-to-top"]={},o.ng.core,o.ng.common)}(this,function(o,t,n){"use strict";var e=function(){function o(){this.btnClasses={},this.color="white",this.bgColor="black",this.scrollDuration=700,this.offset=300,this.offsetOpacity=1200,this.scrolling=!1}return o.prototype.onWindowScroll=function(o){this.scrolling||(this.scrolling=!0,window.requestAnimationFrame?window.requestAnimationFrame(this.checkBackToTop.bind(this)):setTimeout(this.checkBackToTop.bind(this),250))},o.prototype.onClick=function(o){o.preventDefault(),window.requestAnimationFrame?this.scrollTop(this.scrollDuration):window.scrollTo(0,0)},o.prototype.ngOnInit=function(){},o.prototype.checkBackToTop=function(){var o=window.scrollY||document.documentElement.scrollTop;this.btnClasses=o>this.offset?"ng-back-to-top--show":"",o>this.offsetOpacity&&(this.btnClasses=this.btnClasses+" ng-back-to-top--fade-out"),this.scrolling=!1},o.prototype.scrollTop=function(c){var s=window.scrollY||document.documentElement.scrollTop,a=null,l=function(o){a||(a=o);var t,n,e,i=o-a,r=Math.max((t=i,e=-(n=s),(t/=c/2)<1?e/2*t*t+n:-e/2*(--t*(t-2)-1)+n),0);window.scrollTo(0,r),i<c&&window.requestAnimationFrame(l)};window.requestAnimationFrame(l)},o.decorators=[{type:t.Component,args:[{selector:"ng-back-to-top",template:'<div #ref>\n <ng-content></ng-content>\n</div>\n\x3c!-- Falback Button --\x3e\n<div class="ng-back-to-top fallback-btn" [ngClass]="btnClasses" [ngStyle]="{\n color: color,\n backgroundColor: bgColor\n}" *ngIf="!ref.innerHTML.trim()">\n <span>\n &uarr;\n </span>\n</div>',styles:[".ng-back-to-top.fallback-btn{background-color:#000;color:#fff;display:block;width:50px;height:50px;position:fixed;right:1rem;bottom:2rem;cursor:pointer;border-radius:50%;text-align:center;line-height:3;font-weight:bolder;visibility:hidden;opacity:0;transition:opacity .3s,visibility .3s,background-color .3s}.ng-back-to-top svg{display:block;fill:green;height:14px;margin:10px auto 0;width:14px}.ng-back-to-top.ng-back-to-top--fade-out,.ng-back-to-top.ng-back-to-top--show,.ng-back-to-top:hover{transition:opacity .3s,visibility,background-color .3s}.ng-back-to-top.ng-back-to-top--show{visibility:visible;opacity:1}.ng-back-to-top.ng-back-to-top--fade-out{opacity:.5}.ng-back-to-top:hover{background-color:#e86256;opacity:1}"]}]}],o.ctorParameters=function(){return[]},o.propDecorators={color:[{type:t.Input}],bgColor:[{type:t.Input}],scrollDuration:[{type:t.Input}],scrolling:[{type:t.Input}],onWindowScroll:[{type:t.HostListener,args:["window:scroll",["$event"]]}],onClick:[{type:t.HostListener,args:["click",["$event"]]}]},o}(),i=function(){function o(){}return o.decorators=[{type:t.NgModule,args:[{declarations:[e],imports:[n.CommonModule],exports:[e]}]}],o}();o.NgBackToTopComponent=e,o.NgBackToTopModule=i,Object.defineProperty(o,"__esModule",{value:!0})});
!function(o,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("ng-back-to-top",["exports","@angular/core","@angular/common"],t):t(o["ng-back-to-top"]={},o.ng.core,o.ng.common)}(this,function(o,t,n){"use strict";var e=function(){function o(){this.btnClasses={},this.color="white",this.bgColor="black",this.scrollDuration=700,this.offset=300,this.offsetOpacity=1200,this.scrolling=!1}return o.prototype.onWindowScroll=function(o){this.scrolling||(this.scrolling=!0,window.requestAnimationFrame?window.requestAnimationFrame(this.checkBackToTop.bind(this)):setTimeout(this.checkBackToTop.bind(this),250))},o.prototype.onClick=function(o){o.preventDefault(),window.requestAnimationFrame?this.scrollTop(this.scrollDuration):window.scrollTo(0,0)},o.prototype.ngOnInit=function(){},o.prototype.checkBackToTop=function(){var o=window.scrollY||document.documentElement.scrollTop;this.btnClasses=o>this.offset?"ng-back-to-top--show":"",o>this.offsetOpacity&&(this.btnClasses=this.btnClasses+" ng-back-to-top--fade-out"),this.scrolling=!1},o.prototype.scrollTop=function(c){var s=window.scrollY||document.documentElement.scrollTop,a=null,l=function(o){a||(a=o);var t,n,e,i=o-a,r=Math.max((t=i,e=-(n=s),(t/=c/2)<1?e/2*t*t+n:-e/2*(--t*(t-2)-1)+n),0);window.scrollTo(0,r),i<c&&window.requestAnimationFrame(l)};window.requestAnimationFrame(l)},o.decorators=[{type:t.Component,args:[{selector:"ng-back-to-top",template:'<div #ref>\n <ng-content></ng-content>\n</div>\n\x3c!-- Falback Button --\x3e\n<div class="ng-back-to-top fallback-btn" [ngClass]="btnClasses" [ngStyle]="{\n color: color,\n backgroundColor: bgColor\n}" *ngIf="!ref.innerHTML.trim()">\n <span>\n &#9650;\n </span>\n</div>',styles:[".ng-back-to-top.fallback-btn{background-color:#000;color:#fff;display:block;width:50px;height:50px;position:fixed;right:1rem;bottom:2rem;cursor:pointer;border-radius:50%;text-align:center;line-height:3;font-weight:bolder;visibility:hidden;opacity:0;transition:opacity .3s,visibility .3s,background-color .3s}.ng-back-to-top svg{display:block;fill:green;height:14px;margin:10px auto 0;width:14px}.ng-back-to-top.ng-back-to-top--fade-out,.ng-back-to-top.ng-back-to-top--show,.ng-back-to-top:hover{transition:opacity .3s,visibility,background-color .3s}.ng-back-to-top.ng-back-to-top--show{visibility:visible;opacity:1}.ng-back-to-top.ng-back-to-top--fade-out{opacity:.5}.ng-back-to-top:hover{background-color:#e86256;opacity:1}"]}]}],o.ctorParameters=function(){return[]},o.propDecorators={color:[{type:t.Input}],bgColor:[{type:t.Input}],scrollDuration:[{type:t.Input}],scrolling:[{type:t.Input}],onWindowScroll:[{type:t.HostListener,args:["window:scroll",["$event"]]}],onClick:[{type:t.HostListener,args:["click",["$event"]]}]},o}(),i=function(){function o(){}return o.decorators=[{type:t.NgModule,args:[{declarations:[e],imports:[n.CommonModule],exports:[e]}]}],o}();o.NgBackToTopComponent=e,o.NgBackToTopModule=i,Object.defineProperty(o,"__esModule",{value:!0})});
//# sourceMappingURL=ng-back-to-top.umd.min.js.map

@@ -94,3 +94,3 @@ /**

selector: 'ng-back-to-top',
template: "<div #ref>\n <ng-content></ng-content>\n</div>\n<!-- Falback Button -->\n<div class=\"ng-back-to-top fallback-btn\" [ngClass]=\"btnClasses\" [ngStyle]=\"{\n color: color,\n backgroundColor: bgColor\n}\" *ngIf=\"!ref.innerHTML.trim()\">\n <span>\n &uarr;\n </span>\n</div>",
template: "<div #ref>\n <ng-content></ng-content>\n</div>\n<!-- Falback Button -->\n<div class=\"ng-back-to-top fallback-btn\" [ngClass]=\"btnClasses\" [ngStyle]=\"{\n color: color,\n backgroundColor: bgColor\n}\" *ngIf=\"!ref.innerHTML.trim()\">\n <span>\n &#9650;\n </span>\n</div>",
styles: [".ng-back-to-top.fallback-btn{background-color:#000;color:#fff;display:block;width:50px;height:50px;position:fixed;right:1rem;bottom:2rem;cursor:pointer;border-radius:50%;text-align:center;line-height:3;font-weight:bolder;visibility:hidden;opacity:0;transition:opacity .3s,visibility .3s,background-color .3s}.ng-back-to-top svg{display:block;fill:green;height:14px;margin:10px auto 0;width:14px}.ng-back-to-top.ng-back-to-top--fade-out,.ng-back-to-top.ng-back-to-top--show,.ng-back-to-top:hover{transition:opacity .3s,visibility,background-color .3s}.ng-back-to-top.ng-back-to-top--show{visibility:visible;opacity:1}.ng-back-to-top.ng-back-to-top--fade-out{opacity:.5}.ng-back-to-top:hover{background-color:#e86256;opacity:1}"]

@@ -126,2 +126,2 @@ }] }

export { ɵ0 };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYmFjay10by10b3AuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmctYmFjay10by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G4gICAgICB9XG4gICAgfTtcblxuICAgIHdpbmRvdy5yZXF1ZXN0QW5pbWF0aW9uRnJhbWUoYW5pbWF0ZVNjcm9sbCk7XG4gIH1cblxufVxuIl19

@@ -111,3 +111,3 @@ /**

selector: 'ng-back-to-top',
template: "<div #ref>\n <ng-content></ng-content>\n</div>\n<!-- Falback Button -->\n<div class=\"ng-back-to-top fallback-btn\" [ngClass]=\"btnClasses\" [ngStyle]=\"{\n color: color,\n backgroundColor: bgColor\n}\" *ngIf=\"!ref.innerHTML.trim()\">\n <span>\n &uarr;\n </span>\n</div>",
template: "<div #ref>\n <ng-content></ng-content>\n</div>\n<!-- Falback Button -->\n<div class=\"ng-back-to-top fallback-btn\" [ngClass]=\"btnClasses\" [ngStyle]=\"{\n color: color,\n backgroundColor: bgColor\n}\" *ngIf=\"!ref.innerHTML.trim()\">\n <span>\n &#9650;\n </span>\n</div>",
styles: [".ng-back-to-top.fallback-btn{background-color:#000;color:#fff;display:block;width:50px;height:50px;position:fixed;right:1rem;bottom:2rem;cursor:pointer;border-radius:50%;text-align:center;line-height:3;font-weight:bolder;visibility:hidden;opacity:0;transition:opacity .3s,visibility .3s,background-color .3s}.ng-back-to-top svg{display:block;fill:green;height:14px;margin:10px auto 0;width:14px}.ng-back-to-top.ng-back-to-top--fade-out,.ng-back-to-top.ng-back-to-top--show,.ng-back-to-top:hover{transition:opacity .3s,visibility,background-color .3s}.ng-back-to-top.ng-back-to-top--show{visibility:visible;opacity:1}.ng-back-to-top.ng-back-to-top--fade-out{opacity:.5}.ng-back-to-top:hover{background-color:#e86256;opacity:1}"]

@@ -146,2 +146,2 @@ }] }

export { ɵ0 };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYmFjay10by10b3AuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmctYmFjay10by10b3AvIiwic291cmNlcyI6WyJsaWIvbmctYmFjay10by10b3AvbmctYmFjay10by10b3AuY29t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GwpO1xuICAgICAgfVxuICAgIH07XG5cbiAgICB3aW5kb3cucmVxdWVzdEFuaW1hdGlvbkZyYW1lKGFuaW1hdGVTY3JvbGwpO1xuICB9XG5cbn1cbiJdfQ==

@@ -95,3 +95,3 @@ import { Component, HostListener, Input, NgModule } from '@angular/core';

selector: 'ng-back-to-top',
template: "<div #ref>\n <ng-content></ng-content>\n</div>\n<!-- Falback Button -->\n<div class=\"ng-back-to-top fallback-btn\" [ngClass]=\"btnClasses\" [ngStyle]=\"{\n color: color,\n backgroundColor: bgColor\n}\" *ngIf=\"!ref.innerHTML.trim()\">\n <span>\n &uarr;\n </span>\n</div>",
template: "<div #ref>\n <ng-content></ng-content>\n</div>\n<!-- Falback Button -->\n<div class=\"ng-back-to-top fallback-btn\" [ngClass]=\"btnClasses\" [ngStyle]=\"{\n color: color,\n backgroundColor: bgColor\n}\" *ngIf=\"!ref.innerHTML.trim()\">\n <span>\n &#9650;\n </span>\n</div>",
styles: [".ng-back-to-top.fallback-btn{background-color:#000;color:#fff;display:block;width:50px;height:50px;position:fixed;right:1rem;bottom:2rem;cursor:pointer;border-radius:50%;text-align:center;line-height:3;font-weight:bolder;visibility:hidden;opacity:0;transition:opacity .3s,visibility .3s,background-color .3s}.ng-back-to-top svg{display:block;fill:green;height:14px;margin:10px auto 0;width:14px}.ng-back-to-top.ng-back-to-top--fade-out,.ng-back-to-top.ng-back-to-top--show,.ng-back-to-top:hover{transition:opacity .3s,visibility,background-color .3s}.ng-back-to-top.ng-back-to-top--show{visibility:visible;opacity:1}.ng-back-to-top.ng-back-to-top--fade-out{opacity:.5}.ng-back-to-top:hover{background-color:#e86256;opacity:1}"]

@@ -139,2 +139,2 @@ }] }

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYmFjay10by10b3AuanMubWFwIiwic291cmNlcyI6WyJuZzovL25nLWJhY2stdG8tdG9wL2xpYi9uZy1iYWNrLXRvLXRvcC9uZy1iYWN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N2QixNQUFNLENBQUMscUJBQXFCLENBQUMsYUFBYSxDQUFDLENBQUM7YUFDN0M7U0FDRjtRQUVELE1BQU0sQ0FBQyxxQkFBcUIsQ0FBQyxhQUFhLENBQUMsQ0FBQztLQUM3Qzs7O1lBbEVGLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsZ0JBQWdCO2dCQUMxQixvU0FBOEM7O2FBRS9DOzs7OztvQkFJRSxLQUFLO3NCQUNMLEtBQUs7NkJBRUwsS0FBSzt3QkFLTCxLQUFLOzZCQUVMLFlBQVksU0FBQyxlQUFlLEVBQUUsQ0FBQyxRQUFRLENBQUM7c0JBU3hDLFlBQVksU0FBQyxPQUFPLEVBQUUsQ0FBQyxRQUFRLENBQUM7Ozs7Ozs7QUN2Q25DLE1BV2EsaUJBQWlCOzs7WUFQN0IsUUFBUSxTQUFDO2dCQUNSLFlBQVksRUFBRSxDQUFDLG9CQUFvQixDQUFDO2dCQUNwQyxPQUFPLEVBQUU7b0JBQ1AsWUFBWTtpQkFDYjtnQkFDRCxPQUFPLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQzthQUNoQzs7Ozs7Ozs7Ozs7Ozs7OyJ9

@@ -112,3 +112,3 @@ import { Component, HostListener, Input, NgModule } from '@angular/core';

selector: 'ng-back-to-top',
template: "<div #ref>\n <ng-content></ng-content>\n</div>\n<!-- Falback Button -->\n<div class=\"ng-back-to-top fallback-btn\" [ngClass]=\"btnClasses\" [ngStyle]=\"{\n color: color,\n backgroundColor: bgColor\n}\" *ngIf=\"!ref.innerHTML.trim()\">\n <span>\n &uarr;\n </span>\n</div>",
template: "<div #ref>\n <ng-content></ng-content>\n</div>\n<!-- Falback Button -->\n<div class=\"ng-back-to-top fallback-btn\" [ngClass]=\"btnClasses\" [ngStyle]=\"{\n color: color,\n backgroundColor: bgColor\n}\" *ngIf=\"!ref.innerHTML.trim()\">\n <span>\n &#9650;\n </span>\n</div>",
styles: [".ng-back-to-top.fallback-btn{background-color:#000;color:#fff;display:block;width:50px;height:50px;position:fixed;right:1rem;bottom:2rem;cursor:pointer;border-radius:50%;text-align:center;line-height:3;font-weight:bolder;visibility:hidden;opacity:0;transition:opacity .3s,visibility .3s,background-color .3s}.ng-back-to-top svg{display:block;fill:green;height:14px;margin:10px auto 0;width:14px}.ng-back-to-top.ng-back-to-top--fade-out,.ng-back-to-top.ng-back-to-top--show,.ng-back-to-top:hover{transition:opacity .3s,visibility,background-color .3s}.ng-back-to-top.ng-back-to-top--show{visibility:visible;opacity:1}.ng-back-to-top.ng-back-to-top--fade-out{opacity:.5}.ng-back-to-top:hover{background-color:#e86256;opacity:1}"]

@@ -161,2 +161,2 @@ }] }

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYmFjay10by10b3AuanMubWFwIiwic291cmNlcyI6WyJuZzovL25nLWJhY2stdG8tdG9wL2xpYi9uZy1iYWNrLXRvLXRvcC9uZy1iYWNrLXRvLXRvcC5jb21wb25lbnQudHMiLCJuZzovL25nLWJhY2stdG8tdG9wL2xpYi9uZy1iYWNrLXRvLXRvcC5tb2R1bGUudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQsIEhvc3RMaXN0ZW5lciwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuY29uc3QgZWFzZUluT3V0UXVhZCA9ICh0LCBiLCBjLCBkKSA9PiB7XG4gIHQgLz0gZCAvIDI7XG4gIGlmICh0IDwgMSkge1xuICAgIHJldHVybiBjIC8gMiAqIHQgKiB0ICsgYjtcbiAgfVxuXG4gIHQtLTtcbiAgcmV0dXJuIC1jIC8gMiAqICh0ICogKHQgLSAyKSAtIDEpICsgYjtcbn07XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ25nLWJhY2stdG8tdG9wJyxcbiAgdGVtcGxhdGVVcmw6ICcuL25nLWJhY2stdG8tdG9wLmNvbXBvbmVud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O0FDWkE7SUFJQTtLQU9rQzs7Z0JBUGpDLFFBQVEsU0FBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQztvQkFDcEMsT0FBTyxFQUFFO3dCQUNQLFlBQVk7cUJBQ2I7b0JBQ0QsT0FBTyxFQUFFLENBQUMsb0JBQW9CLENBQUM7aUJBQ2hDOztJQUNnQyx3QkFBQztDQVBsQzs7Ozs7Ozs7Ozs7Ozs7In0=

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"NgBackToTopComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"ng-back-to-top","template":"<div #ref>\n <ng-content></ng-content>\n</div>\n<!-- Falback Button -->\n<div class=\"ng-back-to-top fallback-btn\" [ngClass]=\"btnClasses\" [ngStyle]=\"{\n color: color,\n backgroundColor: bgColor\n}\" *ngIf=\"!ref.innerHTML.trim()\">\n <span>\n &uarr;\n </span>\n</div>","styles":[".ng-back-to-top.fallback-btn{background-color:#000;color:#fff;display:block;width:50px;height:50px;position:fixed;right:1rem;bottom:2rem;cursor:pointer;border-radius:50%;text-align:center;line-height:3;font-weight:bolder;visibility:hidden;opacity:0;transition:opacity .3s,visibility .3s,background-color .3s}.ng-back-to-top svg{display:block;fill:green;height:14px;margin:10px auto 0;width:14px}.ng-back-to-top.ng-back-to-top--fade-out,.ng-back-to-top.ng-back-to-top--show,.ng-back-to-top:hover{transition:opacity .3s,visibility,background-color .3s}.ng-back-to-top.ng-back-to-top--show{visibility:visible;opacity:1}.ng-back-to-top.ng-back-to-top--fade-out{opacity:.5}.ng-back-to-top:hover{background-color:#e86256;opacity:1}"]}]}],"members":{"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"bgColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"scrollDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"scrolling":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"onWindowScroll":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":30,"character":3},"arguments":["window:scroll",["$event"]]}]}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":39,"character":3},"arguments":["click",["$event"]]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"checkBackToTop":[{"__symbolic":"method"}],"scrollTop":[{"__symbolic":"method"}]}},"NgBackToTopModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NgBackToTopComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":7,"character":4}],"exports":[{"__symbolic":"reference","name":"NgBackToTopComponent"}]}]}],"members":{}}},"origins":{"NgBackToTopComponent":"./lib/ng-back-to-top/ng-back-to-top.component","NgBackToTopModule":"./lib/ng-back-to-top.module"},"importAs":"ng-back-to-top"}
{"__symbolic":"module","version":4,"metadata":{"NgBackToTopComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"ng-back-to-top","template":"<div #ref>\n <ng-content></ng-content>\n</div>\n<!-- Falback Button -->\n<div class=\"ng-back-to-top fallback-btn\" [ngClass]=\"btnClasses\" [ngStyle]=\"{\n color: color,\n backgroundColor: bgColor\n}\" *ngIf=\"!ref.innerHTML.trim()\">\n <span>\n &#9650;\n </span>\n</div>","styles":[".ng-back-to-top.fallback-btn{background-color:#000;color:#fff;display:block;width:50px;height:50px;position:fixed;right:1rem;bottom:2rem;cursor:pointer;border-radius:50%;text-align:center;line-height:3;font-weight:bolder;visibility:hidden;opacity:0;transition:opacity .3s,visibility .3s,background-color .3s}.ng-back-to-top svg{display:block;fill:green;height:14px;margin:10px auto 0;width:14px}.ng-back-to-top.ng-back-to-top--fade-out,.ng-back-to-top.ng-back-to-top--show,.ng-back-to-top:hover{transition:opacity .3s,visibility,background-color .3s}.ng-back-to-top.ng-back-to-top--show{visibility:visible;opacity:1}.ng-back-to-top.ng-back-to-top--fade-out{opacity:.5}.ng-back-to-top:hover{background-color:#e86256;opacity:1}"]}]}],"members":{"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"bgColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"scrollDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"scrolling":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"onWindowScroll":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":30,"character":3},"arguments":["window:scroll",["$event"]]}]}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":39,"character":3},"arguments":["click",["$event"]]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"checkBackToTop":[{"__symbolic":"method"}],"scrollTop":[{"__symbolic":"method"}]}},"NgBackToTopModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NgBackToTopComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":7,"character":4}],"exports":[{"__symbolic":"reference","name":"NgBackToTopComponent"}]}]}],"members":{}}},"origins":{"NgBackToTopComponent":"./lib/ng-back-to-top/ng-back-to-top.component","NgBackToTopModule":"./lib/ng-back-to-top.module"},"importAs":"ng-back-to-top"}
{
"name": "ng-back-to-top",
"version": "0.0.2",
"version": "0.0.3",
"description": "Angular 6+ CSS Marquee (Alternative To HTML Marquee Tag)",

@@ -5,0 +5,0 @@ "keywords": [

@@ -42,8 +42,10 @@ # ng-back-to-top

#### Use Component
```html
<div>
<ng-back-to-top bgColor="orange"></ng-back-to-top>
<ng-back-to-top></ng-back-to-top>
</div>
```
## API

@@ -57,3 +59,16 @@

#### Use Component With Custom Design / Content
```html
<div>
<ng-back-to-top>
<div style="font-weight: bold; padding: 10px;">
Go To Top
</div>
</ng-back-to-top>
</div>
```
## Any contributions are appreciated.
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://paypal.me/shivarajnaidu)

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc