Last active
March 10, 2019 12:15
-
-
Save ezhov-da/6019bd53a8b164173e1e827d68e903a4 to your computer and use it in GitHub Desktop.
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
<html> | |
<head> | |
<title>Hello Ext</title> | |
<link rel="stylesheet" type="text/css" href="../extjs/resources/css/ext-all.css"> | |
<script type="text/javascript" src="../extjs/ext-all-dev.js"></script> | |
<script type="text/javascript" src="app.js"></script> | |
</head> | |
<body></body> | |
</html> | |
Ext.application({ | |
name: 'HelloExt', | |
launch: function() { | |
Ext.create('Ext.container.Viewport', { | |
layout: 'fit', | |
items: [ | |
{ | |
title: 'Приложение на Ext JS 4', | |
html : '<h3>Добро пожаловать в мир Ext JS 4!</h3>' | |
} | |
] | |
}); | |
} | |
}); | |
или | |
Ext.onReady(function(){ | |
Ext.create('Ext.container.Viewport', { | |
layout: 'fit', | |
items: [ | |
{ | |
title: 'Приложение на Ext JS 4', | |
html : '<h3>Добро пожаловать в мир Ext JS 4!</h3>' | |
}, | |
] | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment