Struct webbing::JSRef
[−]
[src]
pub struct JSRef<'a> { /* fields omitted */ }
Methods from Deref<Target = HtmlNode<'a>>
fn tagname(&self) -> String
[src]
fn focus(&self)
[src]
fn html_set(&self, s: &str)
[src]
fn html_get(&self) -> String
[src]
fn class_get(&self) -> HashSet<String>
[src]
fn class_add(&self, s: &str)
[src]
fn class_remove(&self, s: &str)
[src]
fn parent(&self) -> Option<HtmlNode<'a>>
[src]
fn data_set(&self, s: &str, v: &str)
[src]
fn data_get(&self, s: &str) -> Option<String>
[src]
fn style_set_str(&self, s: &str, v: &str)
[src]
fn style_get_str(&self, s: &str) -> String
[src]
fn prop_set_i32(&self, s: &str, v: i32)
[src]
fn prop_set_str(&self, s: &str, v: &str)
[src]
fn prop_get_i32(&self, s: &str) -> i32
[src]
fn prop_get_str(&self, s: &str) -> String
[src]
fn append(&self, s: &HtmlNode)
[src]
fn html_append(&self, s: &str)
[src]
fn html_prepend(&self, s: &str)
[src]
fn on<F: FnMut(Event) + 'a>(&self, s: &str, f: F)
[src]
fn captured_on<F: FnMut(Event) + 'a>(&self, s: &str, f: F)
[src]
fn remove_self(&self)
[src]
Trait Implementations
impl<'a> Debug for JSRef<'a>
[src]
impl<'a> Clone for JSRef<'a>
[src]
fn clone(&self) -> JSRef<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more