]>
git.proxmox.com Git - extjs.git/blob - extjs/examples/classic/aria/app/view/Viewport.js
1 Ext
.define('Aria.view.Viewport', {
2 extend
: 'Ext.container.Viewport',
6 'Ext.layout.container.Border',
7 'Ext.layout.container.Accordion',
14 initComponent: function() {
34 src
: 'resources/images/sencha-logo.png',
38 'margin-right': '10px'
43 html
: 'Ext JS Accessibility Demo',
45 // Some screen readers will announce document contents upfront.
46 // In that case the region header component's html may be read
47 // twice: first as north container's aria-labelledby element,
48 // and then by itself as a div with a text node.
49 // The attribute below will instruct screen readers to skip
50 // the div text; it will be announced only as a region heading.
61 title
: 'Accordion panels',
73 tooltip
: 'Pin the panel'
76 tooltip
: 'Get panel help'
80 xtype
: 'mysimplebuttons',
84 title
: 'Closable panel',
86 html
: 'This is an example of a closable panel'
88 xtype
: 'mysimpleform',
89 title
: 'Personal data form',
94 title
: 'Center tab panel',
100 bodyStyle
: 'background:white',
103 bodyStyle
: 'background:white'
107 xtype
: 'mysimplegrid'
109 xtype
: 'mysimplepanel'
111 xtype
: 'mysimplelist'
118 handler: function() {
119 var win
= this.up('container').add(Ext
.widget('mysimplewindow', {
120 title
:'ARIA Window ' + num
++
123 win
.showBy(this, 'tr', [num
*20, num
*20]);
127 xtype
: 'mysimpleitemselector'
129 // xtype: 'mysimpledatepicker'
131 xtype
: 'mysimpletoolbar'
133 xtype
: 'mysimplewizard'
140 xtype
: 'mysimpleimage'