MCPcopy Create free account
hub / github.com/angular-rust/yew-components / view

Method view

src/button.rs:80–87  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

78 }
79
80 fn view(&self) -> Html {
81 html! {
82 <button class="mdc-button" onclick=self.link.callback(|_| Msg::Clicked)>
83 <span class="mdc-button__ripple"></span>
84 <span class="mdc-button__label">{ &self.props.label }</span>
85 </button>
86 }
87 }
88}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected