SHARE
TWEET

Untitled

a guest Jun 19th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Ext.setup({
  2.     fullscreen: false,
  3.     onReady: function(){
  4.         var butLogin = new Ext.Button({
  5.             text: 'Login',
  6.             ui: 'round',
  7.             handler: function(){
  8.                 var msg = new Ext.MessageBox({
  9.                     centered: true
  10.                 });
  11.                 msg.alert('info', 'ok');
  12.             }
  13.         });
  14.        
  15.         var tela = new Ext.Panel({
  16.             items: [butLogin],
  17.             layout: {
  18.                 type: 'vbox'
  19.             },
  20.             width: 300,
  21.             height: 300
  22.         });
  23.         tela.show();
  24.     }
  25. });
RAW Paste Data
Want to get better at JavaScript?
Learn to code JavaScript in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top