marquee-overflow

1.0.2 • Public • Published

Table of Contents

  1. Dependencies
  2. Options
  3. Example

An AngularJS directive to automatically marquee the content of an element when it overflows.

Dependencies

  • Angular 1.x
  • jQuery 3.x

Options

  • speed: the speed at which the marquee scrolls in pixels/second

Example

<html>
  <head>
    <!-- include jQuery, AngularJS, and the marquee-overflow files here -->

    <script>
      var app = angular.module('app', ['marquee-overflow']);
    </script>

    <style>
      overflow-marquee {
        white-space: nowrap;
        width:200px;
      }
    </style>
  </head>
  <body>
    <input type="text" ng-model="text" />
    <overflow-marquee speed="60">{{text}}</overflow-marquee>
  </body>
</html>

/marquee-overflow/

    Package Sidebar

    Install

    npm i marquee-overflow

    Weekly Downloads

    11

    Version

    1.0.2

    License

    GPLv2

    Unpacked Size

    4.22 kB

    Total Files

    5

    Last publish

    Collaborators

    • riksolo