Login screen using ExtJS.
Here's an example of a login screen using ExtJS: Ext.onReady(function(){ // Create a form panel var loginForm = Ext.create('Ext.form.Panel', { title: 'Login Form', bodyPadding: 10, width: 300, renderTo: Ext.getBody(), items: [{ xtype: 'textfield', fieldLabel: 'Username', name: 'username', allowBlank: false }, { xtype: 'textfield', fieldLabel: 'Password', name: 'password', inputType: 'password', ..
2023. 4. 18.
chat screen code on Extjs.
Ext.application({ name: 'ChatApp', launch: function() { // create a panel to hold the chat messages var chatPanel = Ext.create('Ext.panel.Panel', { title: 'Chat Messages', layout: 'fit', region: 'center', items: [{ xtype: 'panel', id: 'chatBox', autoScroll: true }] }); // create a form panel to send messages var formPanel = Ext.create('Ext.form.Panel', { title: 'Send Message', region: 'south', c..
2023. 4. 18.