-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
31 lines (31 loc) · 921 Bytes
/
Copy pathexample.html
File metadata and controls
31 lines (31 loc) · 921 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example</title>
<link rel="stylesheet" type="text/css" href="https://cdn.sencha.com/ext/gpl/4.2.1/packages/ext-theme-neptune/build/resources/ext-theme-neptune-all.css" />
<style type="text/css">
body {
padding: 50px !important;
}
</style>
<script src="https://cdn.sencha.com/ext/gpl/4.2.1/ext-all-debug.js"></script>
<script src="https://cdn.sencha.com/ext/gpl/4.2.1/packages/ext-theme-neptune/build/ext-theme-neptune-debug.js"></script>
<script src="KeyboardUser.js"></script>
<script>
Ext.onReady(function() {
Ext.create( 'Ext.form.field.Date', {
margin: '0 5 0 0',
fieldLabel: 'From',
allowBlank: false,
labelWidth: 70,
plugins: Ext.create('Ext.ux.plugin.field.date.KeyboardUser'),
renderTo: 'ext-datefield'
});
});
</script>
</head>
<body>
<div id="ext-datefield"> </div>
</body>
</html>