These nav methods were in plain impl blocks, so wasm-bindgen never exported them — the generated .d.ts (and the JS surface) lacked the spec's primary navigation API. Move set_viewport/zoom_to_fit into a #[wasm_bindgen] impl and mark the canvaskit forward_wheel impl #[wasm_bindgen]; keep the tuple viewport() and pub(crate) push_viewport internal. Verified in the regenerated .d.ts: set_viewport/zoom_to_fit/forward_wheel now exported. |
||
|---|---|---|
| .. | ||
| smoke | ||
| src | ||
| tools | ||
| .gitignore | ||
| Cargo.toml | ||