git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.3.0 - Released 10/06/2010
[extjs.git]
/
docs
/
source
/
Item.html
diff --git
a/docs/source/Item.html
b/docs/source/Item.html
index
921d868
..
f767e79
100644
(file)
--- a/
docs/source/Item.html
+++ b/
docs/source/Item.html
@@
-7,7
+7,7
@@
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.
2.2
+ * Ext JS Library 3.
3.0
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
@@
-62,6
+62,12
@@
Ext.menu.Item = Ext.extend(Ext.menu.BaseItem, {
* @cfg {Number} showDelay Length of time in milliseconds to wait before showing this item (defaults to 200)
*/
showDelay: 200,
* @cfg {Number} showDelay Length of time in milliseconds to wait before showing this item (defaults to 200)
*/
showDelay: 200,
+
+ <div id="cfg-Ext.menu.Item-altText"></div>/**
+ * @cfg {String} altText The altText to use for the icon, if it exists. Defaults to <tt>''</tt>.
+ */
+ altText: '',
+
// doc'd in BaseItem
hideDelay: 200,
// doc'd in BaseItem
hideDelay: 200,
@@
-85,7
+91,7
@@
Ext.menu.Item = Ext.extend(Ext.menu.BaseItem, {
' target="{hrefTarget}"',
'</tpl>',
'>',
' target="{hrefTarget}"',
'</tpl>',
'>',
- '<img src="{icon}" class="x-menu-item-icon {iconCls}"/>',
+ '<img
alt="{altText}"
src="{icon}" class="x-menu-item-icon {iconCls}"/>',
'<span class="x-menu-item-text">{text}</span>',
'</a>'
);
'<span class="x-menu-item-text">{text}</span>',
'</a>'
);
@@
-108,7
+114,8
@@
Ext.menu.Item = Ext.extend(Ext.menu.BaseItem, {
hrefTarget: this.hrefTarget,
icon: this.icon || Ext.BLANK_IMAGE_URL,
iconCls: this.iconCls || '',
hrefTarget: this.hrefTarget,
icon: this.icon || Ext.BLANK_IMAGE_URL,
iconCls: this.iconCls || '',
- text: this.itemText||this.text||' '
+ text: this.itemText||this.text||' ',
+ altText: this.altText || ''
};
},
};
},