1 Star 0 Fork 0

AlanWater/react-grid-layout

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
6-dynamic-add-remove.html 1.28 KB
Copy Edit Raw Blame History
<!--
Do not edit this file! It is generated by `generate.js` in this folder, from `template.ejs` and vars.js.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script src="http://localhost:4002/dist/commons.js"></script>
<script src="http://localhost:4002/dist/6-dynamic-add-remove.bundle.js"></script>
<title>RGL Example 6 - Dynamic Add/Remove</title>
</head>
<body>
<h3>React-Grid-Layout Demo 6 - Dynamic Add/Remove</h3>
<ul>
<li><a href="https://github.com/STRML/react-grid-layout">View project on GitHub</a></li>
<li><a href="https://github.com/STRML/react-grid-layout/blob/master/test/examples/6-dynamic-add-remove.jsx">View this example's source</a></li>
<li><a href="5-static-elements.html"><b></b> View the previous example: "Static Elements"</a></li>
<li><a href="7-localstorage.html"><b></b>View the next example: "LocalStorage"</a></li>
</ul>
<p>This demo shows what happens when items are dynamically added and removed.</p>
<p>You can remove an item by clicking its "x", and add a new one with the button.</p>
<p>To further illustration RGL's capacities, this particular example is responsive. Trying resizing the window.</p>
<div id="content"></div>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/AlanWater/react-grid-layout.git
git@gitee.com:AlanWater/react-grid-layout.git
AlanWater
react-grid-layout
react-grid-layout
master

Search