Function workflow_dom::inject::inject_blob_with_callback
source ยท pub fn inject_blob_with_callback<C>(
content: Content<'_>,
callback: Option<&C>,
) -> Result<()>
Expand description
Inject data buffer contained in the Content
struct as a Blob
into DOM. Executes an optional load
callback when the loading is complete. The load callback
receives web_sys::CustomEvent
struct indicating the load result.