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

ngx-fast-marquee

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-fast-marquee

This is a customazebale marquee component for angular based on react-fast-marquee

  • 0.1.5
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
68
decreased by-12.82%
Maintainers
1
Weekly downloads
 
Created
Source

Ngx Fast Marquee

Build Status License

Description

Welcome to the 🌟 Ngx Marquee Library 🌟! This library provides an easy-to-use and customizable marquee component for your Angular applications.

Inspired by React-Fast-Marquee React.js Icon

🛠️ 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

🚀 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

In progress...🚧

Marquee Inputs:

  • speed - The speed of the marquee in pixels per second. Also can be qualitative, fast, medium, slow. Default: medium.
  • direction - The direction of the marquee (left, right, up, down).Default: left.
  • autoFill - true for auto filling the space. Default: true.
  • useSystemReducedMotion - true for avoid animate the marquee when the system has reduced motion. Default: false.
  • maskStartPercentage - Start percentage of the mask. Suitable Range: 0 - 100, where 100 is the middle of the marquee. Default: 0.
  • maskEndPercentage - End percentage of the mask. Suitable Range: 0 - 100, where 100 is the middle of the marquee. Default: 0.
  • maskPercentage - Percentage of the mask. Suitable Range: 0 - 100, where 100 is the middle of the marquee (start to center and end to the center). Default: 0.
  • play - true for playing the marquee animation, otherwise the animation is paused. Default: true.
  • pauseOnClick - true for pausing the marquee when the cursor is held down on the marquee. Default: false.
  • pauseOnHover - true for Pausing the marquee when the mouse is over it. Default: false.

Marquee Outputs:

  • mounted - Event emitted when the marquee is in the view. Emitted only once.
  • updated - Event emitted each time the marquee is updated.

📄 License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 25 Nov 2023

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