JsAttribute¶
No import is needed.
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
JsAttribute¶
Binds an external function to a JavaScript export using @js("module", "export"). Available only on JavaScript platforms.
module_name¶
Fully qualified module containing the declaration.
export_name¶
Name exposed to callers of the foreign function.