-<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-toolbar.Separator-method-constructor'><span id='Ext-toolbar.Separator'>/**
-</span></span> * @class Ext.toolbar.Separator
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>The source code</title>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+ <style type="text/css">
+ .highlight { display: block; background-color: #ddd; }
+ </style>
+ <script type="text/javascript">
+ function highlight() {
+ document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+ }
+ </script>
+</head>
+<body onload="prettyPrint(); highlight();">
+ <pre class="prettyprint lang-js"><span id='Ext-toolbar-Separator'>/**
+</span> * @class Ext.toolbar.Separator
* @extends Ext.toolbar.Item
- * A simple class that adds a vertical separator bar between toolbar items
- * (css class:<tt>'x-toolbar-separator'</tt>).
- *
- * {@img Ext.toolbar.Separator/Ext.toolbar.Separator.png Toolbar Separator}
- *
- * ## Example
+ * A simple class that adds a vertical separator bar between toolbar items (css class: 'x-toolbar-separator').
*
+ * @example
* Ext.create('Ext.panel.Panel', {
* title: 'Toolbar Seperator Example',
* width: 300,
* height: 200,
* tbar : [
* 'Item 1',
- * {xtype: 'tbseparator'}, // or '-'
+ * { xtype: 'tbseparator' },
* 'Item 2'
* ],
* renderTo: Ext.getBody()
- * });
- *
- * @constructor
- * Creates a new Separator
- * @xtype tbseparator
+ * });
*/
Ext.define('Ext.toolbar.Separator', {
extend: 'Ext.toolbar.Item',
alternateClassName: 'Ext.Toolbar.Separator',
baseCls: Ext.baseCSSPrefix + 'toolbar-separator',
focusable: false
-});</pre></pre></body></html>
\ No newline at end of file
+});</pre>
+</body>
+</html>