Ext.fly和Ext.get差異在速度以及實際元素指向

fly比較快,但實際元素指向需要看前面程式碼是否有使用到別的元素

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Ext.get()/Ext.fly()區別</title>

黒森林蛋糕 發表在 痞客邦 留言(0) 人氣()

 Ext.getDom('testDom')、 Ext.getDom(el)、 Ext.getDom(el.Dom)是一樣的都可取回testDom元素

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Ext Dom各種取法</title>
</head>

黒森林蛋糕 發表在 痞客邦 留言(0) 人氣()

最近有機會對倉庫系統專案做Code review,網頁的寫法大多是用ExtJs(其實是用ExtNet) 所以買了一本書學習一下:

 下面程式碼主要是用Ext.extend 將Person繼承Object之後寫簡單的方法和屬性,

再給另一個Developer繼承Person重寫已存在的方法,真是有物件導向的精神, 希望能夠學好ExtJs啊~

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

黒森林蛋糕 發表在 痞客邦 留言(0) 人氣()

Strings

The only formatting available to Strings is the padding option, which can be positive or negative depending on whether the string should be left- or right-aligned:

String.Format("'{0,10}'", "John");

黒森林蛋糕 發表在 痞客邦 留言(0) 人氣()

ToolTip tips =new ToolTip();
tips.ToolTipTitle ="lable提示";
tips.IsBalloon =true;
tips.UseAnimation =true;
tips.UseFading =true;

黒森林蛋糕 發表在 痞客邦 留言(0) 人氣()

1
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。