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

ngx-fast-marquee

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-fast-marquee

Lightweight Angular Component that can bring to life your Angular applications through fast and user-friendly marquee animations.

  • 0.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
45
decreased by-51.09%
Maintainers
0
Weekly downloads
 
Created
Source

Ngx Fast Marquee

Build Status License

Description

Want to bring your website to life with dynamic, eye-catching marquees?

Look no further! The ✨ Ngx Fast Marquee ✨ is a lightweight component that can bring to life your Angular applications through fast and user-friendly marquee animations.

See the Demo section below for a live example!

🖥️ Demo

See Ngx Fast Marquee in action!

🛠️ Installation

Install the library using your favorite package manager:

  • npm
npm i ngx-fast-marquee
  • pnpm
pnpm i ngx-fast-marquee
  • yarn
yarn add ngx-fast-marquee
  • bun
bun add ngx-fast-marquee

Angular Compatibility

Angular VersionLibrary Version
>=170.2.2
>=120.2.0

🚀 Getting Started

Import the NgxFastMarqueeModule in your AppModule:

import { NgxFastMarqueeModule } from "ngx-fast-marquee";

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, NgxFastMarqueeModule],
  bootstrap: [AppComponent],
})
export class AppModule {}

Use the ngx-fast-marquee component in your templates:

<ngx-fast-marquee>
  <div>Item 1</div>
  <div>Item 2</div>
  <div>Item 3</div>
  <div>Item 4</div>
  <div>Item 5</div>
</ngx-fast-marquee>

📚 Documentation

Marquee Inputs:

NameTypeDefaultDescription
speednumbermediumThe speed of the marquee in pixels per second. Also can be qualitative, fast, medium, slow.
directionstringleftThe direction of the marquee (left, right, up, down).
autoFillbooleantruetrue for auto filling the space.
useSystemReducedMotionbooleanfalsetrue for avoid animate the marquee when the system has reduced motion.
maskStartPercentagenumber0Start percentage of the mask. Suitable Range: 0 - 100, where 100 is the middle of the marquee.
maskEndPercentagenumber0End percentage of the mask. Suitable Range: 0 - 100, where 100 is the middle of the marquee.
maskPercentagenumber0Percentage of the mask. Suitable Range: 0 - 100, where 100 is the middle of the marquee (start to center and end to the center).
playbooleantruetrue for playing the marquee animation, otherwise the animation is paused.
pauseOnClickbooleanfalsetrue for pausing the marquee when the cursor is held down on the marquee.
pauseOnHoverbooleanfalsetrue for Pausing the marquee when the mouse is over it.

Marquee Outputs:

NameDescription
mountedEvent emitted when the marquee is in the view. Emitted only once.
updatedEvent emitted each time the marquee is updated.

📄 License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 18 Sep 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc