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

Method create

src/barchart.rs:61–67  ·  view source on GitHub ↗
(props: Self::Properties, link: ComponentLink<Self>)

Source from the content-addressed store, hash-verified

59 type Properties = BarChartProps;
60
61 fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self {
62 Self {
63 link,
64 props,
65 node_ref: NodeRef::default(),
66 }
67 }
68
69 fn update(&mut self, msg: Self::Message) -> ShouldRender {
70 match msg {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected