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

Method view

src/circular_progress.rs:58–91  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

56 }
57
58 fn view(&self) -> Html {
59 // onclick=self.link.callback(|_| Msg::Clicked)>
60 // { &self.label }
61 // { props.children.clone() }
62 html! {
63 <div class="mdc-circular-progress mdc-circular-progress--indeterminate" style="width:48px;height:48px;" role="progressbar" aria-label="Example Progress Bar" aria-valuemin="0" aria-valuemax="1">
64 <div class="mdc-circular-progress__determinate-container">
65 <svg class="mdc-circular-progress__determinate-circle-graphic" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
66 <circle class="mdc-circular-progress__determinate-track" cx="24" cy="24" r="18" stroke-width="4"/>
67 <circle class="mdc-circular-progress__determinate-circle" cx="24" cy="24" r="18" stroke-dasharray="113.097" stroke-dashoffset="113.097" stroke-width="4"/>
68 </svg>
69 </div>
70 <div class="mdc-circular-progress__indeterminate-container">
71 <div class="mdc-circular-progress__spinner-layer">
72 <div class="mdc-circular-progress__circle-clipper mdc-circular-progress__circle-left">
73 <svg class="mdc-circular-progress__indeterminate-circle-graphic" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
74 <circle cx="24" cy="24" r="18" stroke-dasharray="113.097" stroke-dashoffset="56.549" stroke-width="4"/>
75 </svg>
76 </div>
77 <div class="mdc-circular-progress__gap-patch">
78 <svg class="mdc-circular-progress__indeterminate-circle-graphic" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
79 <circle cx="24" cy="24" r="18" stroke-dasharray="113.097" stroke-dashoffset="56.549" stroke-width="3.2"/>
80 </svg>
81 </div>
82 <div class="mdc-circular-progress__circle-clipper mdc-circular-progress__circle-right">
83 <svg class="mdc-circular-progress__indeterminate-circle-graphic" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
84 <circle cx="24" cy="24" r="18" stroke-dasharray="113.097" stroke-dashoffset="56.549" stroke-width="4"/>
85 </svg>
86 </div>
87 </div>
88 </div>
89 </div>
90 }
91 }
92}
93
94// <svg class="mdc-circular-progress" viewBox="25 25 50 50">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected