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 passed as a callback to be called
by another JS function

Examples:

>>> str(js_callback("update_div"))
'update_div'

>>> str(js_callback("function (event) { .... }"))
'function (event) { .... }'(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,