Coder Social home page Coder Social logo

superplug-in / supermarquee Goto Github PK

View Code? Open in Web Editor NEW
25.0 3.0 2.0 174 KB

The super smooth marquee javascript component.

License: Other

JavaScript 74.65% HTML 25.35%
javascript marquee supermarquee html5 webcomponent jquery angular react svelte vue

supermarquee's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

deawx damp42

supermarquee's Issues

Super Bad perfomance

Bad perfomance when multiple animations are in the same page. Animations like GSAP or simple CSS gets laggy even if there are an iframe close to the marquee

SuperMarquee doesn't work for Angular components

Hi all, I just got the latest version of Angular

 ng version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 17.0.6
Node: 20.10.0
Package Manager: npm 10.2.3
OS: win32 x64

Angular: 17.0.6
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1700.6
@angular-devkit/build-angular   17.0.6
@angular-devkit/core            17.0.6
@angular-devkit/schematics      17.0.6
@schematics/angular             17.0.6
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.2

And I downloaded the latest version of SuperMarquee for a personal project to evaluate it. It doesn't seem to work. I thought maybe it was a "Standalone Components" issue, but it seems to be a problem even if I use a Module entry point instead of a Standalone Component.

However, I think I found the culprit.

The error is:

"Failed to construct 'CustomElement': The result must not have children" 

I uninstalled the package, took the vanillaJS for SuperMarqueeWC.js, and I moved everything that's in the constructor into the "connectedCallback" function and now it works.

I don't know enough about the code to know whether solving it in this way will not open up other defects, so I'm leaving that to you.

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.