I am trying to call js() method in kotlin with dyn...
# javascript
v
I am trying to call js() method in kotlin with dynamic values and not constant. Is it not possible? More details - I am using npm signalr library in kotlin multi-platform and trying to pass access token when creating the hub. Unable to pass token to accesstokenfactory.
c
You should declare the functions you want with
external
and call them as normal functions instead of using the
js()
helper.