JsPlumb的當前版本位於Jquery,YUI或MooTools之上。我有一個要求,我需要編寫適配器連接jsPlumb與Dojo gfx。在Dojox上使用JsPlumb
我檢查的jsPlumb源代碼,我發現適配器所有三個(jQuery的,YUI和MooTools的)
Sample Adapter of Jquery, lists following details,
the library specific functions, such as find offset, get id, get attribute, extend etc.
* the full list is:
*
* addClass adds a class to the given element
* animate calls the underlying library's animate functionality
* appendElement appends a child element to a parent element.
* bind binds some event to an element
...
...
可有人請點,這是多麼難以替代所有列出的電話用dojo具體的方法調用?寫這些方法時我需要考慮什麼?
嗨,我們已經開始jsPlumb的移植到道場,請訪問https://開頭的github的.com/bhosaledipak/JsPlumb_Dojo_Integreate – Pradeep