Hi All . i am using the keyboard from
Lightning-ui/docs/Keyboard at main · rdkcentral/Lightning-ui · GitHub
i need to add custom key and define action for it can anyone help me with this?
Hey Shruthi,
Upon checking out the documentation I realised that I did not elaborate on this subject. I’ve updated the docs on github that gives more information on that:
# Keyboard
The Keyboard is a component that displays a... that's right a keyboard. This component positions the keys for you, and manages the input. This component also tries to reuse the keys as much as possible which makes switching layouts very quick.
## Usage
If you want to use the Keyboard component, import it from Lightning UI.
```js
import { Keyboard } from '@lightningjs/ui'
```
### Initialize
To use the Keyboard component you create an instance with the `type` Keyboard:
```js
class MyApp extends Lightning.Application {
static _template() {
return {
This file has been truncated. show original
There are also examples available via:
With kind regards,
Jeffrey
Thank you somuch @Jeffrey i will try with this