Chapter 6. Binding with Other Languages
As mentioned in the Register handler section of Chapter 3, Developing Web Applications, we can register external JavaScript code by utilizing the Resource.register_external_js
function. But, this is not how we call external JavaScript functions from Opa. This is only true when we wish to invoke Node.js functions. In such cases, we instead bind external functions with Opa's binding ability. In this chapter, we will explain how to bind external JavaScript or Node.js functions.