Function perspective_viewer::js_init
source · pub fn js_init()Expand description
Export all ExprTK commands, for use in generating documentation.
Register this crate’s Custom Elements in the browser’s current session.
This must occur before calling any public API methods on these Custom
Elements from JavaScript, as the methods themselves won’t be defined yet.
By default, this crate does not register PerspectiveViewerElement (as to
preserve backwards-compatible synchronous API).