Crate usdpl_front

Source
Expand description

Front-end library to be called from Javascript. Targets WASM.

In true Javascript tradition, this part of the library does not support error handling.

Modules§

_helpers
wasm
WASM <-> Rust interop utilities

Structs§

WebSocketHandler
Websocket client. In most cases, this shouldn’t be used directly, but generated code will use this.

Functions§

get_value
Get the targeted plugin framework, or “any” if unknown
init_usdpl
Initialize the front-end library
set_value
Get the targeted plugin framework, or “any” if unknown
target_usdpl
Get the targeted plugin framework, or “any” if unknown
tr
Translate a phrase, equivalent to tr_n(msg_id, 0)
tr_n
Translate a phrase, retrieving the plural form for n items
version_usdpl
Get the UDSPL front-end version