Skip to content

Commit

Permalink
feat: replaced get-value and set-value with a super charged version o…
Browse files Browse the repository at this point in the history
…f CoCreate-events
  • Loading branch information
Frank Pagan committed Mar 16, 2023
1 parent f889a56 commit d1c9cf2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h2 class="padding:5px_0px">Demo</h2>
</div>

<div id="demo-preview" class="position:relative overflow:auto background-color:white">
<div get-value="#demo" class="padding:20px"></div>
<div class="demopreview" class="padding:20px"></div>
</div>

<div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
Expand Down
3 changes: 2 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
border: 2px solid grey;
background: #fff;
z-index: 2;
user-select: none;
overflow: auto;
/* user-select: none; */
pointer-events: auto;
}

Expand Down
2 changes: 1 addition & 1 deletion src/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Modal.prototype = {
let bottomResize = document.createElement("div");
bottomResize.setAttribute("resize", "bottom");

this.el.setAttribute("resizable", "");
// this.el.setAttribute("resizable", "");
this.el.appendChild(dragArea);
this.el.appendChild(topResize);
this.el.appendChild(leftResize);
Expand Down

0 comments on commit d1c9cf2

Please sign in to comment.