mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-02-22 01:29:39 +08:00
Build update
This commit is contained in:
parent
73b96ea181
commit
9d3a9bc79f
@ -1,6 +1,6 @@
|
|||||||
/*!
|
/*!
|
||||||
*
|
*
|
||||||
* simple-keyboard v3.1.0
|
* simple-keyboard v3.1.1
|
||||||
* https://github.com/hodgef/simple-keyboard
|
* https://github.com/hodgef/simple-keyboard
|
||||||
*
|
*
|
||||||
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
|
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
|
||||||
|
File diff suppressed because one or more lines are too long
@ -53,9 +53,11 @@ class SimpleKeyboard {
|
|||||||
constructor(...params: KeyboardParams) {
|
constructor(...params: KeyboardParams) {
|
||||||
if (typeof window === "undefined") return;
|
if (typeof window === "undefined") return;
|
||||||
|
|
||||||
const { keyboardDOMClass, keyboardDOM, options = {} } = this.handleParams(
|
const {
|
||||||
params
|
keyboardDOMClass,
|
||||||
);
|
keyboardDOM,
|
||||||
|
options = {},
|
||||||
|
} = this.handleParams(params);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializing Utilities
|
* Initializing Utilities
|
||||||
@ -472,9 +474,8 @@ class SimpleKeyboard {
|
|||||||
* Check if this new input has candidates (suggested words)
|
* Check if this new input has candidates (suggested words)
|
||||||
*/
|
*/
|
||||||
if (e?.target && this.options.enableLayoutCandidates) {
|
if (e?.target && this.options.enableLayoutCandidates) {
|
||||||
const { candidateKey, candidateValue } = this.getInputCandidates(
|
const { candidateKey, candidateValue } =
|
||||||
updatedInput
|
this.getInputCandidates(updatedInput);
|
||||||
);
|
|
||||||
|
|
||||||
if (candidateKey && candidateValue) {
|
if (candidateKey && candidateValue) {
|
||||||
this.showCandidatesBox(
|
this.showCandidatesBox(
|
||||||
|
Loading…
Reference in New Issue
Block a user