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

Method view

src/chip.rs:81–92  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

79 }
80
81 fn view(&self) -> Html {
82 html! {
83 <div class="mdc-chip" role="row">
84 <div class="mdc-chip__ripple"></div>
85 <span role="gridcell">
86 <span role="button" tabindex="0" class="mdc-chip__primary-action">
87 <span class="mdc-chip__text">{ &self.label }</span>
88 </span>
89 </span>
90 </div>
91 }
92 }
93}
94
95// chips

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected