0

Dojox 描画 API には、描画キャンバスで使用できるステンシルとして長方形があります。ドキュメントでは、connect という関数について言及しています。どうやって使うの?connect(o, e, s, m, once)

以下は、圧縮されていない dojo コードで使用できます。

// TODO: connect to a Shape event from outside class
connect: function(o, e, s, m, /* Boolean*/once){
// summary:
//      Convenience method for quick connects
//      See comments below for possiblities
//      functions can be strings
// once:
//      If true, the connection happens only
//      once then disconnects. Five args are required
//      for this functionality.

この関数を使用する理由と方法は明らかではありません。関数の使用法と機能について助けてもらえますか。

4

1 に答える 1