Koen Deforche 8455fb6ae2 added README.md files for examples, several bug fixes vor 13 Jahren
..
CMakeLists.txt 9dd3f8912a see Changelog vor 14 Jahren
JavascriptExample.C 9dd3f8912a see Changelog vor 14 Jahren
JavascriptExample.h 23c84d699e back-port WDialog fixes from v3 branch vor 16 Jahren
Popup.C cb1f053a2f merge v3 development branch vor 16 Jahren
Popup.h aa3a659f42 see Changelog vor 15 Jahren
README.md 8455fb6ae2 added README.md files for examples, several bug fixes vor 13 Jahren

README.md

JavaScript example

This example shows different ways of interaction between client-side JavaScript and server-side C++.

How to run

See the README in the parent directory.

What it illustrates

  • using a JSignal, and invoking it from JavaScript to trigger C++ methods from within client-side JavaScript code
  • using a JSlot to invoke JavaScript directly on the client in response to an event