Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
A JS function that can be "called" from python and added to
a widget by widget.add_call() so it get's called every time the widget
is rendered.

Used to create a callable object that can be called from your widgets to
trigger actions in the browser. It's used primarily to initialize JS code
programatically. Calls can be chained and parameters are automatically
json-encoded into something JavaScript undersrtands. Example::

>>> jQuery = js_function('jQuery')(more...)

src/t/w/tw2.core-2.2.1.1/tw2/core/__init__.py   tw2.core(Download)
)
 
from .js import (
    js_symbol,
    js_callback,

src/t/w/tw2.core-HEAD/tw2/core/__init__.py   tw2.core(Download)
)
 
from .js import (
    js_symbol,
    js_callback,