Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNeikos committed May 4, 2020
1 parent f2170c0 commit 143251f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions yew/src/html/mod.rs
Expand Up @@ -114,6 +114,7 @@ pub trait Component: Sized + 'static {
///# fn create(props: Self::Properties,link: ComponentLink<Self>) -> Self {unimplemented!()}
///# fn update(&mut self,msg: Self::Message) -> bool {unimplemented!()}
///# fn view(&self) -> Html {unimplemented!()}
///# fn change(&mut self, _props: Self::Properties) -> ShouldRender { unimplemented!() }
/// fn rendered(&mut self, first_render: bool) {
/// if first_render {
/// self.setup_element(); # Similar to `mounted` in other frameworks
Expand Down

0 comments on commit 143251f

Please sign in to comment.