pub fn new_model() -> ModelExpand description
Creates a new text input model (alias for new()).
This is provided for compatibility with the bubbletea pattern where both
New() and NewModel() functions exist.
§Returns
A new Model instance with default settings
§Examples
use bubbletea_widgets::textinput::new_model;
let input = new_model();§Note
The Go implementation has both New() and NewModel() functions for compatibility.