Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

171
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda