Crate terminput_web_sys

Crate terminput_web_sys 

Source
Expand description

§terminput-web-sys

crates.io docs.rs license CI codecov GitHub repo size Lines of Code

terminput-web-sys provides helper functions for converting between terminput and web-sys types.

§Feature Flags

  • web_sys_0_3 uses web_sys 0.3 (default)

Functions§

to_terminput_keyweb_sys_0_3
Converts the web_sys KeyboardEvent to a terminput KeyEvent.
to_terminput_mouseweb_sys_0_3
Converts the web_sys MouseEvent to a terminput MouseEvent.
to_terminput_mouse_dragweb_sys_0_3
Converts the web_sys DragEvent to a terminput MouseEvent.
to_terminput_mouse_scrollweb_sys_0_3
Converts the web_sys WheelEvent to a terminput MouseEvent.
to_terminput_pasteweb_sys_0_3
Converts the web_sys ClipboardEvent to a terminput paste Event.
to_terminput_resizeweb_sys_0_3
Converts the web_sys window size to a terminput resize Event.