Git Product home page Git Product logo

marqueefy.github.io's Introduction

Marqueefy logo

Marqueefy

Marqueefy is a custom Marquee component used to create horizontal or vertical scrolling content.

Table of contents

Installation

https://marqueefy.github.io/#installation

Usage

https://marqueefy.github.io/#usage

Options

https://marqueefy.github.io/#options

Specs

https://marqueefy.github.io/#specs

Bugs and feature requests

Have a bug or a feature request? Please read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Documentation

Marqueefy's documentation, included in this repo in the root directory, is built with Hugo and publicly hosted on GitHub Pages at https://marqueefy.github.io/. The docs may also be run locally.

Running documentation locally

  1. Run npm install to install the Node.js dependencies, including Hugo (the site builder).
  2. From the root /marqueefy.github.io directory, run npm run docs-serve in the command line.
  3. Open http://localhost:9001/ in your browser, and voilà.

Learn more about using Hugo by reading its documentation.

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

All HTML and CSS should conform to the Code Guide, maintained by Mark Otto.

Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at https://editorconfig.org/.

Creator

Neeraj Kumar Das

marqueefy.github.io's People

Contributors

dependabot[bot] avatar nkdas91 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

marqueefy.github.io's Issues

Unable to set marquee direction via Javascript

Prerequisites

Describe the issue

Unable to set marquee direction via Javascript

Reduced test cases

<div class="marqueefy" tabindex="0">
    <div class="content">
        This text should scroll from left to right.
    </div>
</div>
const marqueeList = Array.prototype.slice.call(document.querySelectorAll('.marqueefy'))
marqueeList.map(m => {
  return new marqueefy.Marqueefy(m, { direction: 'right' })
})

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Chrome

What version of Marqueefy are you using?

v1.0.0

Adjust animation-duration when window is resized

Prerequisites

Describe the issue

The animation-duration is applied when the page loads. And is calculated based on the Marquee width and the specified Speed.

If the window is resized later, the Marquee will have to complete its animation within the animation-duration that was calculated based on earlier window size, and hence the speed will change.

In order to preserve the speed, the animation-duration has to be calculated when the page is resized.

Reduced test cases

Resize the window after page loads.

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Chrome

What version of Marqueefy are you using?

1.0.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.