-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I have clone this repository and added input control but not able to set the focus:
I have added textbox to elementFactories using .set('textbox', blessed.textbox) and created a component to get user input
import { Component } from '@angular/core';
@component({
selector: 'pl-box-example',
template: <box #test top="center" left="center" height="10" width="21" [keyable]="'true'"> </box> <textbox left="center" [style]="style" top="5" keyable="true" value="first" height="2" width="10"></textbox>,
})
export class TextBoxComponent {
style = {
underline: true,
fg: 'white',
bg: 'yellow',
border: {
fg: 'red',
},
};
}
can you please help me to set focus to an input component?
Metadata
Metadata
Assignees
Labels
No labels