9,310
edits
Line 107: | Line 107: | ||
Depending on the code of the external library, it might or might not run. So far, we have successfully used many third-party libraries and components, including popular frameworks like jQuery or D3 for data visualization. | Depending on the code of the external library, it might or might not run. So far, we have successfully used many third-party libraries and components, including popular frameworks like jQuery or D3 for data visualization. | ||
; | ; Recommendations | ||
* JSBridge.js is not written as an ES module. As such, it cannot be ''import''ed or ''require''d by third-party libraries. However, if you ''include'' it as an HTML script, the global variable <code>MobileCRM</code> should be available. | * JSBridge.js is not written as an ES module. As such, it cannot be ''import''ed or ''require''d by third-party libraries. However, if you ''include'' it as an HTML script, the global variable <code>MobileCRM</code> should be available. |