OpenLayers.Functionクラス

メソッド


bind

bind: function( func, object )


ファンクションをオブジェクトにバインドします。
パラメータ
  • func {Function} インプットファンクション。
  • object {Object} バインドするオブジェクト。 (例:this).

戻り値
{Function}

bindAsEventListener

bindAsEventListener: function( func, object )


ファンクションをオブジェクトにバインドして、そしてイベントを受け取るように設定します。
パラメータ
  • func {Function} インプットファンクション。
  • object {Object} バインドするオブジェクト。 (例:this).

戻り値
{Function}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License