feat(method): add get_component() method
This method let get Box whose children are a label and a TextView/Entry
This commit is contained in:
@@ -71,6 +71,8 @@ impl<I> Product<InputBuilder, Box> for Input<I> {
|
||||
}
|
||||
|
||||
impl<I> Input<I> {
|
||||
pub fn get_component(&self) -> &Box {
|
||||
&self.component
|
||||
}
|
||||
|
||||
pub fn get_input(&self) -> &I {
|
||||
|
||||
Reference in New Issue
Block a user