svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Thu, 14 May 2020 17:48:58 +0200
branchsvghmi
changeset 2968 556ef07a7e31
parent 728 e0424e96e3fd
permissions -rw-r--r--
SVGHMI: When unlinking a clone of a group, do not create additional group, but merge transformation and styles, and replace label. This allows svg:use based widgets to directly access elements of svg:use targeted element.
These classes are intended for use server-side.

e.g. in a django view.py :

    from pyjs.jsonrpc.django import JSONService, jsonremote

    jsonservice = JSONRPCService()

    @jsonremote(jsonservice)
    def test(request, echo_param):
         return "echoing the param back: %s" % echo_param