-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samplse: drag-and-drop and list-view-drag-and-drop
- Loading branch information
1 parent
e06019d
commit f51ab9e
Showing
11 changed files
with
4,900 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,961 changes: 1,961 additions & 0 deletions
1,961
static/samples/haxe-openfl/drag-and-drop/DragAndDrop.js
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
|
||
<meta charset="utf-8"> | ||
|
||
<title>Drag and Drop — Feathers UI Samples</title> | ||
|
||
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
|
||
|
||
<link rel="shortcut icon" type="image/png" href="./favicon.png"> | ||
|
||
|
||
<script type="text/javascript" src="./DragAndDrop.js"></script> | ||
|
||
<script> | ||
window.addEventListener ("touchmove", function (event) { event.preventDefault (); }, { capture: false, passive: false }); | ||
if (typeof window.devicePixelRatio != 'undefined' && window.devicePixelRatio > 2) { | ||
var meta = document.getElementById ("viewport"); | ||
meta.setAttribute ('content', 'width=device-width, initial-scale=' + (2 / window.devicePixelRatio) + ', user-scalable=no'); | ||
} | ||
</script> | ||
|
||
<style> | ||
html,body { margin: 0; padding: 0; height: 100%; overflow: hidden; } | ||
#openfl-content { background: #000000; width: 100%; height: 100%; } | ||
|
||
</style> | ||
|
||
</head> | ||
<body> | ||
|
||
<noscript>This webpage makes extensive use of JavaScript. Please enable JavaScript in your web browser to view this page.</noscript> | ||
|
||
<div id="openfl-content"></div> | ||
|
||
<script type="text/javascript"> | ||
lime.embed ("DragAndDrop", "openfl-content", 0, 0, { parameters: {} }); | ||
</script> | ||
|
||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,836 changes: 2,836 additions & 0 deletions
2,836
static/samples/haxe-openfl/list-view-drag-and-drop/ListViewDragAndDrop.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+3.78 KB
static/samples/haxe-openfl/list-view-drag-and-drop/assets/img/feathersui-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions
44
static/samples/haxe-openfl/list-view-drag-and-drop/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
|
||
<meta charset="utf-8"> | ||
|
||
<title>Drag and drop between two ListView components — Feathers UI Samples</title> | ||
|
||
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
|
||
|
||
<link rel="shortcut icon" type="image/png" href="./favicon.png"> | ||
|
||
|
||
<script type="text/javascript" src="./ListViewDragAndDrop.js"></script> | ||
|
||
<script> | ||
window.addEventListener ("touchmove", function (event) { event.preventDefault (); }, { capture: false, passive: false }); | ||
if (typeof window.devicePixelRatio != 'undefined' && window.devicePixelRatio > 2) { | ||
var meta = document.getElementById ("viewport"); | ||
meta.setAttribute ('content', 'width=device-width, initial-scale=' + (2 / window.devicePixelRatio) + ', user-scalable=no'); | ||
} | ||
</script> | ||
|
||
<style> | ||
html,body { margin: 0; padding: 0; height: 100%; overflow: hidden; } | ||
#openfl-content { background: #000000; width: 100%; height: 100%; } | ||
|
||
</style> | ||
|
||
</head> | ||
<body> | ||
|
||
<noscript>This webpage makes extensive use of JavaScript. Please enable JavaScript in your web browser to view this page.</noscript> | ||
|
||
<div id="openfl-content"></div> | ||
|
||
<script type="text/javascript"> | ||
lime.embed ("ListViewDragAndDrop", "openfl-content", 0, 0, { parameters: {} }); | ||
</script> | ||
|
||
</body> | ||
</html> |
1 change: 1 addition & 0 deletions
1
static/samples/haxe-openfl/list-view-drag-and-drop/manifest/default.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":null,"assets":"aoy4:pathy34:assets%2Fimg%2Ffeathersui-logo.pngy4:sizei3872y4:typey5:IMAGEy2:idy15:feathersui-logogh","rootPath":null,"version":2,"libraryArgs":[],"libraryType":null} |