forked from danielstocks/react-sortable
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
52 lines (43 loc) · 1.27 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>React Sortable</title>
<link href="demo/gridlist/gridlist.css" rel="stylesheet"/>
</head>
<body>
<a href="../">webcloud</a> / React Sortable
<h1>React Sortable</h1>
<p>View source and documentation on <a href="https://github.com/danielstocks/react-sortable/">Github</a>.
<br>Check out the <a href="nested.html">nested data structure</a> demo</p>
<p>You can also try dragging items between the grid and the list</p>
<div id="app"></div>
<script src="bower_components/react/react.js"></script>
<script src="bower_components/react/JSXTransformer.js"></script>
<script src="src/Sortable.js" type="text/jsx"></script>
<script src="demo/gridlist/App.js" type="text/jsx"></script>
<script src="demo/gridlist/SortableListItem.js" type="text/jsx"></script>
<script src="demo/gridlist/SortableGridItem.js" type="text/jsx"></script>
<script src="demo/StateView.js" type="text/jsx"></script>
<script type="text/jsx">
/** @jsx React.DOM */
var data = {
items: [
"Gold",
"Crimson",
"Hotpink",
"Blueviolet",
"Cornflowerblue",
"Skyblue",
"Lightblue",
"Aquamarine",
"Burlywood"
]
};
React.renderComponent(
<App data={data} />,
document.getElementById("app")
);
</script>
</body>
</html>