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

ng-marquee

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-marquee - npm Package Compare versions

Comparing version 0.0.1 to 1.0.0

23

bundles/ng-marquee.umd.js

@@ -17,2 +17,14 @@ (function (global, factory) {

*/
NgMarqueeComponent.prototype.updateDuration = /**
* @return {?}
*/
function () {
if (!this.duration) {
return;
}
this.animationElem.style.animationDuration = this.duration + "s";
};
/**
* @return {?}
*/
NgMarqueeComponent.prototype.ngOnInit = /**

@@ -22,2 +34,4 @@ * @return {?}

function () {
this.animationElem = /** @type {?} */ (document.querySelectorAll('.ng-marquee-wrapper > div')[0]);
this.updateDuration();
};

@@ -28,3 +42,3 @@ NgMarqueeComponent.decorators = [

template: "<div class=\"ng-marquee-wrapper\">\n <div>\n <ng-content></ng-content>\n </div>\n</div>",
styles: [".ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:18s linear 1s infinite marqueeAnimation;animation:18s linear 1s infinite marqueeAnimation;white-space:nowrap}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}"],
styles: [".ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:25s linear infinite marqueeAnimation;animation:25s linear infinite marqueeAnimation;white-space:nowrap}.ng-marquee-wrapper:hover>div{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}"],
changeDetection: core.ChangeDetectionStrategy.OnPush,

@@ -35,2 +49,5 @@ },] },

NgMarqueeComponent.ctorParameters = function () { return []; };
NgMarqueeComponent.propDecorators = {
duration: [{ type: core.Input }]
};
return NgMarqueeComponent;

@@ -66,4 +83,4 @@ }());

exports.NgMarqueeComponent = NgMarqueeComponent;
exports.NgMarqueeModule = NgMarqueeModule;
exports.ɵa = NgMarqueeComponent;

@@ -74,2 +91,2 @@ Object.defineProperty(exports, '__esModule', { value: true });

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

2

bundles/ng-marquee.umd.min.js

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

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("ng-marquee",["exports","@angular/core"],n):n(e["ng-marquee"]={},e.ng.core)}(this,function(e,n){"use strict";var t=function(){function e(){}return e.prototype.ngOnInit=function(){},e.decorators=[{type:n.Component,args:[{selector:"ng-marquee",template:'<div class="ng-marquee-wrapper">\n <div>\n <ng-content></ng-content>\n </div>\n</div>',styles:[".ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:18s linear 1s infinite marqueeAnimation;animation:18s linear 1s infinite marqueeAnimation;white-space:nowrap}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}"],changeDetection:n.ChangeDetectionStrategy.OnPush}]}],e.ctorParameters=function(){return[]},e}(),r=function(){function e(){}return e.decorators=[{type:n.NgModule,args:[{imports:[],declarations:[t],exports:[t]}]}],e}();e.NgMarqueeModule=r,e.ɵa=t,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("ng-marquee",["exports","@angular/core"],t):t(e["ng-marquee"]={},e.ng.core)}(this,function(e,t){"use strict";var n=function(){function e(){}return e.prototype.updateDuration=function(){this.duration&&(this.animationElem.style.animationDuration=this.duration+"s")},e.prototype.ngOnInit=function(){this.animationElem=document.querySelectorAll(".ng-marquee-wrapper > div")[0],this.updateDuration()},e.decorators=[{type:t.Component,args:[{selector:"ng-marquee",template:'<div class="ng-marquee-wrapper">\n <div>\n <ng-content></ng-content>\n </div>\n</div>',styles:[".ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:25s linear infinite marqueeAnimation;animation:25s linear infinite marqueeAnimation;white-space:nowrap}.ng-marquee-wrapper:hover>div{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}"],changeDetection:t.ChangeDetectionStrategy.OnPush}]}],e.ctorParameters=function(){return[]},e.propDecorators={duration:[{type:t.Input}]},e}(),a=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{imports:[],declarations:[n],exports:[n]}]}],e}();e.NgMarqueeComponent=n,e.NgMarqueeModule=a,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=ng-marquee.umd.min.js.map

@@ -5,3 +5,3 @@ /**

*/
import { Component, ChangeDetectionStrategy } from '@angular/core';
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
export class NgMarqueeComponent {

@@ -12,3 +12,14 @@ constructor() { }

*/
updateDuration() {
if (!this.duration) {
return;
}
this.animationElem.style.animationDuration = `${this.duration}s`;
}
/**
* @return {?}
*/
ngOnInit() {
this.animationElem = /** @type {?} */ (document.querySelectorAll('.ng-marquee-wrapper > div')[0]);
this.updateDuration();
}

@@ -24,3 +35,3 @@ }

</div>`,
styles: [`.ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:18s linear 1s infinite marqueeAnimation;animation:18s linear 1s infinite marqueeAnimation;white-space:nowrap}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}`],
styles: [`.ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:25s linear infinite marqueeAnimation;animation:25s linear infinite marqueeAnimation;white-space:nowrap}.ng-marquee-wrapper:hover>div{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}`],
changeDetection: ChangeDetectionStrategy.OnPush,

@@ -31,3 +42,12 @@ },] },

NgMarqueeComponent.ctorParameters = () => [];
NgMarqueeComponent.propDecorators = {
duration: [{ type: Input }]
};
if (false) {
/** @type {?} */
NgMarqueeComponent.prototype.duration;
/** @type {?} */
NgMarqueeComponent.prototype.animationElem;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctbWFycXVlZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy1tYXJxdWVlLyIsInNvdXJjZXMiOlsibGliL25nLW1hcnF1ZWUvbmctbWFycXVlZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsdUJBQXVCLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBWTlGLE1BQU07SUFFSixpQkFBaUI7Ozs7SUFFakIsUUFBUTtLQUNQOzs7WUFmRixTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLFlBQVk7Z0JBQ3RCLFFBQVEsRUFBRTs7OztPQUlMO2dCQUNMLE1BQU0sRUFBRSxDQUFDLHc0QkFBdzRCLENBQUM7Z0JBQ2w1QixlQUFlLEVBQUUsdUJBQXVCLENBQUMsTUFBTTthQUNoRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0LCBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgVmlld0VuY2Fwc3VsYXRpb24gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnbmctbWFycXVlZScsXG4gIHRlbXBsYXRlOiBgPGRpdiBjbGFzcz1cIm5nLW1hcnF1ZWUtd3JhcHBlclwiPlxuICA8ZGl2PlxuICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICA8L2Rpdj5cb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XQge1xuXG4gIEBJbnB1dCgpIGR1cmF0aW9uOiBzdHJpbmcgfCBudW1iZXI7XG4gIGFuaW1hdGlvbkVsZW06IEhUTUxEaXZFbGVtZW50O1xuXG4gIGNvbnN0cnVjdG9yKFxuICApIHsgfVxuXG4gIHVwZGF0ZUR1cmF0aW9uKCkge1xuICAgIGlmICghdGhpcy5kdXJhdGlvbikge1xuICAgICAgcmV0dXJuO1xuICAgIH1cbiAgICB0aGlzLmFuaW1hdGlvbkVsZW0uc3R5bGUuYW5pbWF0aW9uRHVyYXRpb24gPSBgJHt0aGlzLmR1cmF0aW9ufXNgO1xuICB9XG5cbiAgbmdPbkluaXQoKSB7XG4gICAgdGhpcy5hbmltYXRpb25FbGVtID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvckFsbCgnLm5nLW1hcnF1ZWUtd3JhcHBlciA+IGRpdicpWzBdIGFzIEhUTUxEaXZFbGVtZW50O1xuICAgIHRoaXMudXBkYXRlRHVyYXRpb24oKTtcbiAgfVxuXG59XG4iXX0=

@@ -8,5 +8,4 @@ /**

*/
export { NgMarqueeModule } from './public_api';
export { NgMarqueeComponent as ɵa } from './lib/ng-marquee/ng-marquee.component';
export { NgMarqueeComponent, NgMarqueeModule } from './public_api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctbWFycXVlZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLW1hcnF1ZWUvIiwic291cmNlcyI6WyJuZy1tYXJxdWVlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxnQ0FBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLGtCQUFrQixJQUFJLEVBQUUsRUFBQyxNQUFNLHVDQUF1QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuXG5leHBvcnQge05nTWFycXVlZUNvbXBvbmVudCBhcyDJtWF9IGZyb20gJy4vbGliL25nLW1hcnF1ZWUvbmctbWFycXVlZS5jb21wb25lbnQnOyJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctbWFycXVlZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLW1hcnF1ZWUvIiwic291cmNlcyI6WyJuZy1tYXJxdWVlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxvREFBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=

@@ -8,4 +8,5 @@ /**

*/
export { NgMarqueeComponent } from './lib/ng-marquee/ng-marquee.component';
export { NgMarqueeModule } from './lib/ng-marquee.module';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLW1hcnF1ZWUvIiwic291cmNlcyI6WyJwdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxnQ0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgbmctbWFycXVlZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL25nLW1hcnF1ZWUubW9kdWxlJztcbiJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLW1hcnF1ZWUvIiwic291cmNlcyI6WyJwdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxtQ0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCxnQ0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgbmctbWFycXVlZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL25nLW1hcnF1ZWUvbmctbWFycXVlZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbmctbWFycXVlZS5tb2R1bGUnO1xuIl19

@@ -5,3 +5,3 @@ /**

*/
import { Component, ChangeDetectionStrategy } from '@angular/core';
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
var NgMarqueeComponent = /** @class */ (function () {

@@ -13,2 +13,14 @@ function NgMarqueeComponent() {

*/
NgMarqueeComponent.prototype.updateDuration = /**
* @return {?}
*/
function () {
if (!this.duration) {
return;
}
this.animationElem.style.animationDuration = this.duration + "s";
};
/**
* @return {?}
*/
NgMarqueeComponent.prototype.ngOnInit = /**

@@ -18,2 +30,4 @@ * @return {?}

function () {
this.animationElem = /** @type {?} */ (document.querySelectorAll('.ng-marquee-wrapper > div')[0]);
this.updateDuration();
};

@@ -24,3 +38,3 @@ NgMarqueeComponent.decorators = [

template: "<div class=\"ng-marquee-wrapper\">\n <div>\n <ng-content></ng-content>\n </div>\n</div>",
styles: [".ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:18s linear 1s infinite marqueeAnimation;animation:18s linear 1s infinite marqueeAnimation;white-space:nowrap}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}"],
styles: [".ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:25s linear infinite marqueeAnimation;animation:25s linear infinite marqueeAnimation;white-space:nowrap}.ng-marquee-wrapper:hover>div{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}"],
changeDetection: ChangeDetectionStrategy.OnPush,

@@ -31,6 +45,15 @@ },] },

NgMarqueeComponent.ctorParameters = function () { return []; };
NgMarqueeComponent.propDecorators = {
duration: [{ type: Input }]
};
return NgMarqueeComponent;
}());
export { NgMarqueeComponent };
if (false) {
/** @type {?} */
NgMarqueeComponent.prototype.duration;
/** @type {?} */
NgMarqueeComponent.prototype.animationElem;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctbWFycXVlZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy1tYXJxdWVlLyIsInNvdXJjZXMiOlsibGliL25nLW1hcnF1ZWUvbmctbWFycXVlZS5jb21wb25lbnQudHMiXSwibm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24gPSBgJHt0aGlzLmR1cmF0aW9ufXNgO1xuICB9XG5cbiAgbmdPbkluaXQoKSB7XG4gICAgdGhpcy5hbmltYXRpb25FbGVtID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvckFsbCgnLm5nLW1hcnF1ZWUtd3JhcHBlciA+IGRpdicpWzBdIGFzIEhUTUxEaXZFbGVtZW50O1xuICAgIHRoaXMudXBkYXRlRHVyYXRpb24oKTtcbiAgfVxuXG59XG4iXX0=

@@ -8,5 +8,4 @@ /**

*/
export { NgMarqueeModule } from './public_api';
export { NgMarqueeComponent as ɵa } from './lib/ng-marquee/ng-marquee.component';
export { NgMarqueeComponent, NgMarqueeModule } from './public_api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctbWFycXVlZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLW1hcnF1ZWUvIiwic291cmNlcyI6WyJuZy1tYXJxdWVlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxnQ0FBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLGtCQUFrQixJQUFJLEVBQUUsRUFBQyxNQUFNLHVDQUF1QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuXG5leHBvcnQge05nTWFycXVlZUNvbXBvbmVudCBhcyDJtWF9IGZyb20gJy4vbGliL25nLW1hcnF1ZWUvbmctbWFycXVlZS5jb21wb25lbnQnOyJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctbWFycXVlZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLW1hcnF1ZWUvIiwic291cmNlcyI6WyJuZy1tYXJxdWVlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxvREFBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=

@@ -8,4 +8,5 @@ /**

*/
export { NgMarqueeComponent } from './lib/ng-marquee/ng-marquee.component';
export { NgMarqueeModule } from './lib/ng-marquee.module';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLW1hcnF1ZWUvIiwic291cmNlcyI6WyJwdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxnQ0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgbmctbWFycXVlZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL25nLW1hcnF1ZWUubW9kdWxlJztcbiJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLW1hcnF1ZWUvIiwic291cmNlcyI6WyJwdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxtQ0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCxnQ0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgbmctbWFycXVlZVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL25nLW1hcnF1ZWUvbmctbWFycXVlZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbmctbWFycXVlZS5tb2R1bGUnO1xuIl19

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

import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';

@@ -12,3 +12,14 @@ /**

*/
updateDuration() {
if (!this.duration) {
return;
}
this.animationElem.style.animationDuration = `${this.duration}s`;
}
/**
* @return {?}
*/
ngOnInit() {
this.animationElem = /** @type {?} */ (document.querySelectorAll('.ng-marquee-wrapper > div')[0]);
this.updateDuration();
}

@@ -24,3 +35,3 @@ }

</div>`,
styles: [`.ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:18s linear 1s infinite marqueeAnimation;animation:18s linear 1s infinite marqueeAnimation;white-space:nowrap}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}`],
styles: [`.ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:25s linear infinite marqueeAnimation;animation:25s linear infinite marqueeAnimation;white-space:nowrap}.ng-marquee-wrapper:hover>div{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}`],
changeDetection: ChangeDetectionStrategy.OnPush,

@@ -31,2 +42,5 @@ },] },

NgMarqueeComponent.ctorParameters = () => [];
NgMarqueeComponent.propDecorators = {
duration: [{ type: Input }]
};

@@ -57,4 +71,4 @@ /**

export { NgMarqueeModule, NgMarqueeComponent as ɵa };
export { NgMarqueeComponent, NgMarqueeModule };
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctbWFycXVlZS5qcy5tYXAiLCJzb3VyY2VzIjpbIm5nOi8vbmctbWFycXVlZS9saWIvbmctbWFycXVlZS9uZy1tYXJxdWVlLmNvbXBvbmVudC50cyIsIm5nOi8vbmctbWFycXVlZS9saWIvbmctbWFycXVlZS5tb2R1bGUudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQsIENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBWaWV3RW5jYXBzdWxhdGlvbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICduZy1tYXJxdWVlJyxcbiAgdGVtcGxhdGU6IGA8ZGl2IGNsYXNzPVwibmctbWFycXVlZS13cmFwcGVyXCI+XG4gIDxkaXY+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gIDwvZGl2PlxuPC9kaXY+YCxcbiAgc3R5bGVzOiBbYC5uZy1tYXJxdWVlLXdyYXBwZXJ7b3ZlcmZsb3c6aGlkZGVuO3Bvc2l0aW9uOnJlbGF0aXZlfS5uZy1tYX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BQUMsS0FBSyxDQUFDLGlCQUFpQixHQUFHLEdBQUcsSUFBSSxDQUFDLFFBQVEsR0FBRyxDQUFDO0tBQ2xFOzs7O0lBRUQsUUFBUTtRQUNOLElBQUksQ0FBQyxhQUFhLHFCQUFHLFFBQVEsQ0FBQyxnQkFBZ0IsQ0FBQywyQkFBMkIsQ0FBQyxDQUFDLENBQUMsQ0FBbUIsQ0FBQSxDQUFDO1FBQ2pHLElBQUksQ0FBQyxjQUFjLEVBQUUsQ0FBQztLQUN2Qjs7O1lBNUJGLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsWUFBWTtnQkFDdEIsUUFBUSxFQUFFOzs7O09BSUw7Z0JBQ0wsTUFBTSxFQUFFLENBQUMsZytCQUFnK0IsQ0FBQztnQkFDMStCLGVBQWUsRUFBRSx1QkFBdUIsQ0FBQyxNQUFNO2FBQ2hEOzs7Ozt1QkFHRSxLQUFLOzs7Ozs7O0FDZFI7OztZQUdDLFFBQVEsU0FBQztnQkFDUixPQUFPLEVBQUUsRUFDUjtnQkFDRCxZQUFZLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztnQkFDbEMsT0FBTyxFQUFFLENBQUMsa0JBQWtCLENBQUM7YUFDOUI7Ozs7Ozs7Ozs7Ozs7OzsifQ==

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

import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';

@@ -13,2 +13,14 @@ /**

*/
NgMarqueeComponent.prototype.updateDuration = /**
* @return {?}
*/
function () {
if (!this.duration) {
return;
}
this.animationElem.style.animationDuration = this.duration + "s";
};
/**
* @return {?}
*/
NgMarqueeComponent.prototype.ngOnInit = /**

@@ -18,2 +30,4 @@ * @return {?}

function () {
this.animationElem = /** @type {?} */ (document.querySelectorAll('.ng-marquee-wrapper > div')[0]);
this.updateDuration();
};

@@ -24,3 +38,3 @@ NgMarqueeComponent.decorators = [

template: "<div class=\"ng-marquee-wrapper\">\n <div>\n <ng-content></ng-content>\n </div>\n</div>",
styles: [".ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:18s linear 1s infinite marqueeAnimation;animation:18s linear 1s infinite marqueeAnimation;white-space:nowrap}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}"],
styles: [".ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:25s linear infinite marqueeAnimation;animation:25s linear infinite marqueeAnimation;white-space:nowrap}.ng-marquee-wrapper:hover>div{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}"],
changeDetection: ChangeDetectionStrategy.OnPush,

@@ -31,2 +45,5 @@ },] },

NgMarqueeComponent.ctorParameters = function () { return []; };
NgMarqueeComponent.propDecorators = {
duration: [{ type: Input }]
};
return NgMarqueeComponent;

@@ -62,4 +79,4 @@ }());

export { NgMarqueeModule, NgMarqueeComponent as ɵa };
export { NgMarqueeComponent, NgMarqueeModule };
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctbWFycXVlZS5qcy5tYXAiLCJzb3VyY2VzIjpbIm5nOi8vbmctbWFycXVlZS9saWIvbmctbWFycXVlZS9uZy1tYXJxdWVlLmNvbXBvbmVudC50cyIsIm5nOi8vbmctbWFycXVlZS9saWIvbmctbWFycXVlZS5tb2R1bGUudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQsIENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBWaWV3RW5jYXBzdWxhdGlvbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICduZy1tYXJxdWVlJyxcbiAgdGVtcGxhdGU6IGA8ZGl2IGNsYXNzPVwibmctbWFycXVlZS13cmFwcGVyXCI+XG4gIDxkaXY+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gIDwvZGl2PlxuPC9kaXY+YCxcbiAgc3R5bGVzOiBbYC5uZy1tYXJxdWVlLXdyYXBwZXJ7b3ZlcmZsb3c6aGlkZGVuO3Bvc2l0aW9uOnJlbGF0aXZlfS5uZy1tYXJxdWVlLXdyYXBwZXI+ZGl2e3dpZHRoOjEwMCU7aGVpZ2h0OjEwMCU7bWFyZ2luOjA7LXdlYmtpdC10cmFuc2Zvcm06dHJhbnNsYXRlWCgxMDAlKTt0cmFuc2Zvcm06dHJhbnNsYXRlWCgxMDAlKTstd2Via2l0LWFuaW1hdGlvbjoxOHMgbGluZWFyIDFzIGluZmluaXRlIG1hcnF1ZWVBbmltYXRpb247YW5pbWF0aW9uOjE4cyBsaW5lYXIgMXMgaW5maW5pdGUgbWFycXVlZUFuaW1hdGlvbjt3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YyxFQUFFLENBQUM7S0FDdkI7O2dCQTVCRixTQUFTLFNBQUM7b0JBQ1QsUUFBUSxFQUFFLFlBQVk7b0JBQ3RCLFFBQVEsRUFBRSxnR0FJTDtvQkFDTCxNQUFNLEVBQUUsQ0FBQyxnK0JBQWcrQixDQUFDO29CQUMxK0IsZUFBZSxFQUFFLHVCQUF1QixDQUFDLE1BQU07aUJBQ2hEOzs7OzsyQkFHRSxLQUFLOzs2QkFkUjs7Ozs7OztBQ0FBOzs7O2dCQUdDLFFBQVEsU0FBQztvQkFDUixPQUFPLEVBQUUsRUFDUjtvQkFDRCxZQUFZLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztvQkFDbEMsT0FBTyxFQUFFLENBQUMsa0JBQWtCLENBQUM7aUJBQzlCOzswQkFSRDs7Ozs7Ozs7Ozs7Ozs7OyJ9
import { OnInit } from '@angular/core';
export declare class NgMarqueeComponent implements OnInit {
duration: string | number;
animationElem: HTMLDivElement;
constructor();
updateDuration(): void;
ngOnInit(): void;
}

@@ -5,2 +5,1 @@ /**

export * from './public_api';
export { NgMarqueeComponent as ɵa } from './lib/ng-marquee/ng-marquee.component';

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

{"__symbolic":"module","version":4,"metadata":{"NgMarqueeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"imports":[],"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ng-marquee","template":"<div class=\"ng-marquee-wrapper\">\n <div>\n <ng-content></ng-content>\n </div>\n</div>","styles":[".ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:18s linear 1s infinite marqueeAnimation;animation:18s linear 1s infinite marqueeAnimation;white-space:nowrap}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}"],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":10,"character":19},"member":"OnPush"}}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}}},"origins":{"NgMarqueeModule":"./lib/ng-marquee.module","ɵa":"./lib/ng-marquee/ng-marquee.component"},"importAs":"ng-marquee"}
{"__symbolic":"module","version":4,"metadata":{"NgMarqueeComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"ng-marquee","template":"<div class=\"ng-marquee-wrapper\">\n <div>\n <ng-content></ng-content>\n </div>\n</div>","styles":[".ng-marquee-wrapper{overflow:hidden;position:relative}.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:25s linear infinite marqueeAnimation;animation:25s linear infinite marqueeAnimation;white-space:nowrap}.ng-marquee-wrapper:hover>div{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes marqueeAnimation{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@media (max-width:500px){.ng-marquee-wrapper>div{width:100%;height:100%;margin:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-animation:9s linear 1s infinite marqueeAnimation;animation:9s linear 1s infinite marqueeAnimation;white-space:nowrap}}"],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":10,"character":19},"member":"OnPush"}}]}],"members":{"duration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"updateDuration":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}]}},"NgMarqueeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"imports":[],"declarations":[{"__symbolic":"reference","name":"NgMarqueeComponent"}],"exports":[{"__symbolic":"reference","name":"NgMarqueeComponent"}]}]}],"members":{}}},"origins":{"NgMarqueeComponent":"./lib/ng-marquee/ng-marquee.component","NgMarqueeModule":"./lib/ng-marquee.module"},"importAs":"ng-marquee"}
{
"name": "ng-marquee",
"version": "0.0.1",
"version": "1.0.0",
"description": "Angular 6+ CSS Marquee (Alternative To HTML Marquee Tag)",
"keywords": [
"angular",
"ng-marquee",
"marquee",
"moving text",
"scrollling text",
"angular 2+",
"angular 6"
],
"author": "Yuvaraj",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/shivarajnaidu/ng-marquee.git"
},
"bugs": {
"url": "https://github.com/shivarajnaidu/ng-marquee/issues"
},
"homepage": "https://github.com/shivarajnaidu/ng-marquee#readme",
"peerDependencies": {

@@ -5,0 +25,0 @@ "@angular/common": "^6.0.0-rc.0 || ^6.0.0",

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

export * from './lib/ng-marquee/ng-marquee.component';
export * from './lib/ng-marquee.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

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