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

104
Vistas
My SVG "StateSignal13" is still shown after triggering. What's wrong?

My SVG "StateSignal13" is still shown after triggering Bestätigung_ÖFFNET and Bestätigung_SCHLIESSET. Visibility doesn't work at all. What's wrong?

var LE1BO = LeitstandSCHENKERRadeburg.getVariable("Siemens LOGO 8 NR1.Bestätigung_ÖFFNET");
var LE1BS = LeitstandSCHENKERRadeburg.getVariable("Siemens LOGO 8 NR1.Bestätigung_SCHLIESSET");

function ZustandLE1(){

    if (LE1BO == "True") {
                        LeitstandSCHENKERRadeburg.setVariable("Intern.ZustandLE1","True");
                        LeitstandSCHENKERRadeburg.setProperty("LeitstandSCHENKERRadeburg.StateSignal13.visibility", "visible");
    }else {
            LeitstandSCHENKERRadeburg.setProperty("LeitstandSCHENKERRadeburg.StateSignal13.visibility", "hidden");
            }
    
    if (LE1BS == "True") {
        LeitstandSCHENKERRadeburg.setVariable("Intern.ZustandLE1","False");
        LeitstandSCHENKERRadeburg.setProperty("LeitstandSCHENKERRadeburg.StateSignal13.visibility", "visible");
    }else {
            LeitstandSCHENKERRadeburg.setProperty("LeitstandSCHENKERRadeburg.StateSignal13.visibility", "hidden");
            }
}

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Not sure what type LeitstandSCHENKERRadeburg is representing. But assuming it's an HTML element the setProperty function is not applied correctly.

Take a look at the documentation of it.
If you want to adjust the styling of your element you will need to access it like so:

LeitstandSCHENKERRadeburg.style.setProperty('visibility', 'hidden')
about 4 years ago · Juan Pablo Isaza Denunciar
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