I am trying to create a keyboard component in bbc/tal
but unfortunately it is not working. I could not find any examples for this on the internet. I hope someone can help me on this.
The below code I have used to create component.
var myVirtualKeyBoard = new Keyboard("keyboard",10,3,"abcdefghijklmnopqrstuvwxyz",true,true);
myVirtualKeyBoard.setActiveChildKey('A')
this.appendChildWidget(myVirtualKeyBoard);
It is showing 10* 3 buttons row by row but i couldn't get a keyboard in the display
The issue was related to css styling. We can use the below code to display the keyboard.
Js sampe code
Css