Destructor

The code inside this element is called when the binding is removed from an element. You can use this to unload resources to free memory. The destructor should be placed inside the implementation element.

More information about destructor

バインディングが要素から取り除かれたとき、この要素の内側にあるコードが呼ばれる。リソースをアンロードしてメモリを解放するために、この要素を用いることができる。destructor 要素は implementation 要素内に置く必要がある。

destructor の追加情報

属性:

action id

属性:

action

The code contained in the action value is executed for the destructor. Alternatively, you can put the code inside the destructor element.

action の値とされるコードが、 destructor に対して実行される。 別の方法として、 destructor 要素の内側にコードを入れることができる。

id

Type: element id, must be unique in the window

A unique identifier so that you can identify the destructor with. You can use this as a parameter to getElementById and other DOM functions and to reference the element in style sheets.

型 : 要素 id。ウィンドウ内で一意でなければならない。

destructor を識別できるユニークな識別子。getElementById や他の DOM 関数へのパラメータとして、またスタイルシートの要素への参照として使用することができる。


Copyright (C) 1999 - 2004 XulPlanet.com