Giter Site home page Giter Site logo

Bug in HTML about gojs HOT 1 CLOSED

northwoodssoftware avatar northwoodssoftware commented on May 1, 2024
Bug in HTML

from gojs.

Comments (1)

WalterNorthwoods avatar WalterNorthwoods commented on May 1, 2024

Thanks for reporting the non-optimal HTML in that sample. Here's what will be in 1.8.7, which will be released within a week or so.

<div style="width: 100%; display: flex; flex-wrap: wrap">
  <div>
    <div id="myDiagramDiv" style="border: solid 1px black; width:350px; height:300px; margin: 0 2px 0 0"></div>
    <p>
      <label><input type="checkbox" onclick="allChecks()" id="MD1allowDragOut" />allowDragOut</label>
      <label><input type="checkbox" onclick="allChecks()" id="MD1allowDrop" />allowDrop</label>
      <label><input type="checkbox" onclick="allChecks()" id="MD1isReadOnly" />isReadOnly</label>
    </p>
    <p>
      <label><input type="checkbox" onclick="allChecks()" id="MD1allowCopy" />allowCopy</label>
      <label><input type="checkbox" onclick="allChecks()" id="MD1allowDelete" />allowDelete</label>
      <label><input type="checkbox" onclick="allChecks()" id="MD1allowInsert" />allowInsert</label>
      <label><input type="checkbox" onclick="allChecks()" id="MD1allowMove" />allowMove</label>
    </p>
  </div>
  <div>
    <div id="myDiagram2" style="border: solid 1px black; width:350px; height:300px"></div>
    <p>
      <label><input type="checkbox" onclick="allChecks()" id="MD2allowDragOut" />allowDragOut</label>
      <label><input type="checkbox" onclick="allChecks()" id="MD2allowDrop" />allowDrop</label>
      <label><input type="checkbox" onclick="allChecks()" id="MD2isReadOnly" />isReadOnly</label>
    </p>
    <p>
      <label><input type="checkbox" onclick="allChecks()" id="MD2allowCopy" />allowCopy</label>
      <label><input type="checkbox" onclick="allChecks()" id="MD2allowDelete" />allowDelete</label>
      <label><input type="checkbox" onclick="allChecks()" id="MD2allowInsert" />allowInsert</label>
      <label><input type="checkbox" onclick="allChecks()" id="MD2allowMove" />allowMove</label>
    </p>
  </div>
</div>
<div>
  Using the Robot extension class:<br />
  <button onclick="dragBetaAcross()">Drag Beta across</button><br />
  <button onclick="copyBetaBack()">Copy Beta back</button>
</div>

from gojs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.