pub fn ontouchend<__Marker>(
_f: impl SuperInto<Callback<Event<TouchData>>, __Marker>
) -> Attribute
Expand description
The touchend
event fires when the user stops touching an element.
Event Data: TouchData
§Example
fn app() -> Element {
rsx!(
rect {
width: "100",
height: "100",
background: "red",
ontouchend: |_| println!("Stopped touching!")
}
)
}