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

@nstudio/nativescript-label-marquee

Package Overview
Dependencies
Maintainers
8
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nstudio/nativescript-label-marquee

A Label which can scroll with a marquee effect when the text outgrows the available width.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source

@nstudio/nativescript-label-marquee

A Label which can scroll with a marquee effect when the text outgrows the available width.

ns plugin add @nstudio/nativescript-label-marquee

Usage

JavaScript/TypeScript

<Page xmlns="http://schemas.nativescript.org/tns.xsd"
    xmlns:lm="@nstudio/nativescript-label-marquee">
    <StackLayout>
        <lm:LabelMarquee 
            text="Lorem Ipsum; this is a long string of text that will animate because it's longer than the width of the view."
            fadeLength="150" 
            scrollDuration="20"></lm:LabelMarquee>
    </StackLayout>
</Page>
  • labelize: boolean Turn scrolling off to display as normal Label.
  • fadeLength: number (iOS Only) the width of the faded text on either side while scrolling.
  • scrollDuration: number (iOS Only) speed of the scrolling text measured by duration in seconds to scroll from start to finish.

Angular

import { registerElement } from '@nativescript/angular';
import { LabelMarquee } from '@nstudio/nativescript-label-marquee';

registerElement('LabelMarquee', () => LabelMarquee);

Usage in components:

<LabelMarquee 
    text="Lorem Ipsum; this is a long string of text that will animate because it's longer than the width of the view."
    fadeLength="150" 
    scrollDuration="20">
</LabelMarquee>

License

Apache License Version 2.0

Keywords

FAQs

Package last updated on 20 Nov 2021

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