mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-04-30 00:00:04 +08:00
Updated types
This commit is contained in:
Vendored
+6
-5
@@ -2,6 +2,7 @@ declare module 'simple-keyboard' {
|
||||
interface KeyboardLayoutObject {
|
||||
default: string[];
|
||||
shift?: string[];
|
||||
[key: string]: string[];
|
||||
}
|
||||
|
||||
interface KeyboardButtonTheme {
|
||||
@@ -10,11 +11,6 @@ declare module 'simple-keyboard' {
|
||||
}
|
||||
|
||||
interface KeyboardOptions {
|
||||
/**
|
||||
* Utilities
|
||||
*/
|
||||
utilities?: any;
|
||||
|
||||
/**
|
||||
* Modify the keyboard layout.
|
||||
*/
|
||||
@@ -172,6 +168,11 @@ declare module 'simple-keyboard' {
|
||||
constructor(options: KeyboardOptions);
|
||||
options: KeyboardOptions;
|
||||
|
||||
/**
|
||||
* Utilities
|
||||
*/
|
||||
utilities?: any;
|
||||
|
||||
/**
|
||||
* Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.
|
||||
* @param {string} buttons List of buttons to select (separated by a space).
|
||||
|
||||
Reference in New Issue
Block a user