Socket
Socket
Sign inDemoInstall

ng-marquee-improved

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ng-marquee-improved

Angular 7/8 CSS-based Scrolling Marquee


Version published
Weekly downloads
4
increased by100%
Maintainers
1
Install size
82.4 kB
Created
Weekly downloads
 

Readme

Source

ng-marquee-improved

Angular 7/8 CSS-based Scrolling Marquee (e.g. stock/news ticker, scrolling marquee)

[originally forked from https://github.com/shivarajnaidu/ng-marquee to address this issue]

How to:

Install using npm/yarn

   npm install ng-marquee-improved --save
   # OR
   yarn add ng-marquee-improved

Simple Example

Import Module
import { BrowserModule } from "@angular/platform-browser";
import { NgModule } from "@angular/core";
import { NgMarqueeModule } from "ng-marquee-improved";

import { AppComponent } from "./app.component";

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, NgMarqueeModule],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {}
Component Usage
<ng-marquee>
  <mark>Hello, World....</mark>
</ng-marquee>

API

Input Properties

marqueeId property should be a unique string across all instances of ng-marquee in the DOM

duration property available for controlling speed of text movement (default value is 25 in seconds)

<ng-marquee duration="30" marqueeId="qwerty123">
  <mark>Hello, World....</mark>
</ng-marquee>

Keywords

FAQs

Last updated on 20 Jun 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc