Trait web::CustomElement[][src]

pub trait CustomElement {
    pub fn new(element: f64) -> Self
    where
        Self: Sync + Send + 'static
; pub fn register(name: &str)
    where
        Self: Sync + Send + 'static
, { ... }
pub fn observed_attributes() -> Vec<&'static str, Global> { ... }
pub fn created(&mut self) { ... }
pub fn connected(&mut self) { ... }
pub fn disconnected(&mut self) { ... }
pub fn attribute_changed(
        &mut self,
        _name: String,
        _old_value: Option<String>,
        _new_value: Option<String>
    ) { ... } }

Required methods

pub fn new(element: f64) -> Self where
    Self: Sync + Send + 'static, 
[src]

Loading content...

Provided methods

pub fn register(name: &str) where
    Self: Sync + Send + 'static, 
[src]

pub fn observed_attributes() -> Vec<&'static str, Global>[src]

pub fn created(&mut self)[src]

pub fn connected(&mut self)[src]

pub fn disconnected(&mut self)[src]

pub fn attribute_changed(
    &mut self,
    _name: String,
    _old_value: Option<String>,
    _new_value: Option<String>
)
[src]

Loading content...

Implementors

Loading content...