pub trait TextEventMethods<D>where
D: DomTypes,{
// Required methods
fn Data(&self) -> DOMString;
fn InitTextEvent(
&self,
type_: DOMString,
bubbles: bool,
cancelable: bool,
view: Option<&<D as DomTypes>::Window>,
data: DOMString,
);
fn IsTrusted(&self) -> bool;
}