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

Method create

src/chip.rs:58–64  ·  view source on GitHub ↗
(props: Self::Properties, link: ComponentLink<Self>)

Source from the content-addressed store, hash-verified

56 type Properties = ChipProps;
57
58 fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self {
59 Self {
60 link,
61 label: props.label,
62 // onsignal: props.onsignal,
63 }
64 }
65
66 fn update(&mut self, msg: Self::Message) -> ShouldRender {
67 match msg {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected