Trait webcomponent::CustomElement [−][src]
pub trait CustomElement { fn new(element: HTMLElement) -> Self
where
Self: Sized + Sync + Send + 'static; fn register(name: &str)
where
Self: Sized + Sync + Send + 'static, { ... } fn observed_attributes() -> Vec<&'static str> { ... } fn created(&mut self) { ... } fn connected(&mut self) { ... } fn disconnected(&mut self) { ... } fn attribute_changed(
&mut self,
_name: String,
_old_value: Option<String>,
_new_value: Option<String>
) { ... } }
Required methods
Loading content...Provided methods
fn register(name: &str) where
Self: Sized + Sync + Send + 'static,
[src]
Self: Sized + Sync + Send + 'static,
fn observed_attributes() -> Vec<&'static str>
[src]
fn created(&mut self)
[src]
fn connected(&mut self)
[src]
fn disconnected(&mut self)
[src]
fn attribute_changed(
&mut self,
_name: String,
_old_value: Option<String>,
_new_value: Option<String>
)
[src]
&mut self,
_name: String,
_old_value: Option<String>,
_new_value: Option<String>
)