]>
git.proxmox.com Git - extjs.git/blob - extjs/build/examples/kitchensink/modern/src/view/Toolbars.js
2 * Demonstrates several options available when using Toolbars
4 Ext
.define('KitchenSink.view.Toolbars', {
13 html
: 'Toolbars automatically come with <code>light</code> and <code>dark</code> UIs, but you can also make your own with Sass.',
27 hidden
: (Ext
.theme
.name
== "Blackberry") ? true : false
32 hidden
: (Ext
.theme
.name
== "Blackberry") ? true : false
37 hidden
: (Ext
.theme
.name
== "Blackberry") ? true : false
43 xtype
: 'segmentedbutton',
64 hidden
: (Ext
.theme
.name
== "Blackberry") ? true : false
69 hidden
: (Ext
.theme
.name
== "Blackberry") ? true : false
77 constructor: function() {
85 this.callParent(arguments
);
89 * Called when any button in these view is tapped
91 tapHandler: function(button
) {
92 this.setHtml("<span class=action>User tapped " + button
.getText() + "</span>");