Skip to content

Ext.toolbar.Spacer

xtype 为 tbspacer 的 Ext JS 原生组件参考。

Updated View as Markdown

源码定义:ext-all-debug.js:143053。分类:按钮、工具栏、菜单与标签页。

创建示例

var component = Ext.create("Ext.toolbar.Spacer", {
  xtype: "tbspacer",
  ariaRole: 'presentation',
  baseCls: Ext.baseCSSPrefix + 'toolbar-spacer',
  focusable: false,
  renderTo: Ext.getBody()
});

属性

属性 类型 默认值 说明 配置示例
ariaRole String 'presentation' 组件在辅助技术中的 ARIA 角色。 ariaRole: 'presentation'
baseCls Mixed Ext.baseCSSPrefix + 'toolbar-spacer' 配置 baseCls 对应的 CSS 类名。 baseCls: Ext.baseCSSPrefix + 'toolbar-spacer'
focusable Boolean false 控制是否启用 focusable 行为。 focusable: false

方法

源码中未找到该组件自身声明的实例方法;可使用继承的方法。

事件

源码中未找到该组件自身注册的事件;可监听继承事件。

Navigation

Type to search…

↑↓ navigate↵ selectEsc close