Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Marc2805

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    Marc2805

    @Marc2805

    0
    Reputation
    8
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Marc2805 Follow

    Latest posts made by Marc2805

    • RE: setState bei image click ?

      @liv-in-sky

      Konnte das Bild in das Widget einfügen hat super geklappt.

      Danke !

      posted in Skripten / Logik
      M
      Marc2805
    • setState bei image click ?

      Hallo Zusammen,

      Ich Suche nach einer Möglichkeit beim klick auf ein Bild einen Wert von false auf true zu ändern mithilfe von setState aber leider ohne Erfolg. Folgendes habe ich mir zusammengebastelt.

      function enableClick(id) {

      var $id = $("#" + id);
      
      if (!$id .length) return setTimeout(enableClick, 300, id);
      
      $id.click(function(){
      
         setState("shelly.0.info.update",true);
      });
      

      }
      if (!vis.editMode) enableClick('w00270');

      hat von euch jemand eine Idee?!

      posted in Skripten / Logik
      M
      Marc2805
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo