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

Method focus

src/dialog.rs:188–194  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

186
187impl WeakComponentLink<Dialog> {
188 pub fn focus(&self) {
189 // (*self.borrow().as_ref().unwrap().get_component().unwrap())
190 // .node_ref
191 // .cast::<Dialog>()
192 // .unwrap()
193 // .focus()
194 }
195
196 pub fn blur(&self) {
197 // (*self.borrow().as_ref().unwrap().get_component().unwrap())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected