Skip to main content

tag_of

Function tag_of 

Source
pub fn tag_of(node: i64) -> Option<String>
Expand description

An element’s tag, lowercased — what the browser’s DEFAULT ACTION for a click turns on. A click on an <a href> follows the link and a submit on a <form> posts it, whether or not the page is listening; a runtime that only fires listeners answers neither.