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

Structs

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

Functions

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