MCPcopy Create free account
hub / github.com/angular-rust/ux-components / set_text

Method set_text

src/elements/textedit.rs:185–188  ·  view source on GitHub ↗
(&self, value: String)

Source from the content-addressed store, hash-verified

183
184 #[inline]
185 pub fn set_text(&self, value: String) {
186 self.state.borrow_mut().index = value.len() as i32;
187 self.refresh(value, false, true);
188 }
189
190 #[inline]
191 pub fn set_display_char(&mut self, value: Option<char>) {

Callers 1

refreshMethod · 0.45

Calls 1

refreshMethod · 0.45

Tested by

no test coverage detected