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

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