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

Method toggle

src/list.rs:164–170  ·  view source on GitHub ↗

Binds to `toggle` method. See [here](https://github.com/material-components/material-components-web-components/tree/master/packages/list#methods) for details

(&self, index: usize, force: bool)

Source from the content-addressed store, hash-verified

162 ///
163 /// See [here](https://github.com/material-components/material-components-web-components/tree/master/packages/list#methods) for details
164 pub fn toggle(&self, index: usize, force: bool) {
165 // let list = (*self.borrow().as_ref().unwrap().get_component().unwrap())
166 // .node_ref
167 // .cast::<List>()
168 // .unwrap();
169 // list.toggle(index, force)
170 }
171
172 /// Binds to `getFocusedItemIndex` method.
173 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected