Debbuging JS methods
- Run the app.
- Open the developer tools
- On the sources tab, look for the
customTextInputBinding.js
script - Put a breakpoints in the
find
method - Reload the page
- Type the console
$(scope).find('.input-text')
to display the DOM element
If hover over the JavaScript output, the element will be highlighted.