Function freya::prelude::ontouchmove

source ·
pub fn ontouchmove<__Marker>(
    _f: impl SuperInto<Callback<Event<TouchData>>, __Marker>
) -> Attribute
Expand description

The touchmove event fires when the user is touching over an element.

Event Data: TouchData

§Example

fn app() -> Element {
    rsx!(
        rect {
            width: "100",
            height: "100",
            background: "red",
            ontouchmove: |_| println!("Touching!")
        }
    )
}