Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

169
Vistas
Use circular-menu.js inside Angular project

There is already an unsolved topic for the same question/problem but my got deleted.

Basically trying to integrate this: https://github.com/yandongCoder/circular-menu to my angular project but so far no luck. What I did so far:

  • after npm installation of it:
  • included both, .js and .css in angular.json
  • declare const CMenu: any in my app.component.ts due to no no type declaration available
  • included the menu = CMenu("#menu1").config.... part as showed here in the creators example: https://jsfiddle.net/yandongCoder/kL4j7xor/10/
  • put the css part into the component's scss file

Result: Error in Inspector

Maybe someone experienced here with a good advice on where the problem could be? Or even a solution for it? Would be also awesome and helpful to know for others i think. Anyway already a big thanks for reading this and your help.

Edit: As soon as I comment-out the menu variable declaration my page is loading again (obviously the js not working then) without error. So, something is happening. Might be a format problem of the menu variable declaration? Try to post here also a stackblitz or so if i manage to get it there

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda