Navigation

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

    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

    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 1
    • Groups 1

    Ethernet-Fellow

    @Ethernet-Fellow

    1
    Reputation
    3
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Ethernet-Fellow Follow
    Starter

    Best posts made by Ethernet-Fellow

    • RE: Enable DOM objects for javascript and typescript [gelöst]

      Thanks a lot liv-in-sky,
      that's what I missed.

      posted in JavaScript
      E
      Ethernet-Fellow

    Latest posts made by Ethernet-Fellow

    • RE: Enable DOM objects for javascript and typescript [gelöst]

      Thanks a lot liv-in-sky,
      that's what I missed.

      posted in JavaScript
      E
      Ethernet-Fellow
    • RE: Enable DOM objects for javascript and typescript [gelöst]

      Hi liv-in-sky,
      I tried to make a table in VIS using HTML and typescript, but the typescript does not know DOM elements.

      posted in JavaScript
      E
      Ethernet-Fellow
    • RE: Enable DOM objects for javascript and typescript [gelöst]

      Thanks Jey Cee,
      I didn't find an editable table. So I tried to implement it by Typescript.

      posted in JavaScript
      E
      Ethernet-Fellow
    • Enable DOM objects for javascript and typescript [gelöst]

      The simple type- and javascript statement
      document.getElementById('xxx')
      returns a syntax error: 'document' unknown.
      On Google I found that the DOM objects are not enabled by default in typescript.
      To enable it the typescript configuration file 'tsconfig.json' file must contain the line
      "lib": ["DOM", "ES2017"],
      to enable the DOM objects for typescript (and also for javascript).
      I inserted that line in /opt/iobroker/node_modules/@iobroker/plugin-base/tsconfig.json
      without success. On my Raspi there are about 20 more such file.

      So my question, does anyone know how to enable the DOM objects for type- and javascript in iobroker.
      Thanks a lot

      posted in JavaScript
      E
      Ethernet-Fellow
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo