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

185
Visualizações
How to use a Jquery plugin in native javascript -- [specturm color plugin]

I almost never use jquery and this jquery plugin helps in completing my current project. I have gone throughout the docs and haven't been able to find a javscript way to use this. Even though the docs mention about a 'javscript color picker' -- there isn't one yet.

I configured the plugin to my needs... now i need to have a native js version of this.

$('#color-picker').spectrum({
  type: "component",
  showPalette: false,
  togglePaletteOnly: false,
  showAlpha: false,
  allowEmpty: false,
  showInitial: true,
  color: "#f00",
  change: function (color) {
    console.log(color.toHexString())
}
});

Official docs - spectrum color picker

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