To modify the behavior of a JavaScript component, double click on the component name located in the central workspace, it opens a popup window called "Component Configuration Window". The following figure shows the window for the component:
The first field of the window shown in the figure above is a field called "Name Component", in this you can enter a name for the component. The second field allows you to enter JavaScript code.
Note: The code entered in the JavaScript component is entered in the variable $this->CI->executemodel->jsScripts, before being inserted into the default output of the process execution. If you change the variable $ this->CI->executemodel->html_output to FALSE, the contents of the variable $this->CI->executemodel->jsScripts, it will be used if so you should be aware of this situation.
No hay comentarios:
Publicar un comentario