Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
14 lines
722 B
Plaintext
14 lines
722 B
Plaintext
/**
|
|
* Determines if the input should show the placeholder. If anything is in
|
|
* in the root the placeholder should not be shown.
|
|
* @param isComposing - Is the editor in composition mode due to an active Input Method Editor?
|
|
* @returns true if the input should show the placeholder, false otherwise.
|
|
*/
|
|
export declare function $canShowPlaceholder(isComposing: boolean): boolean;
|
|
/**
|
|
* Returns a function that executes {@link $canShowPlaceholder}
|
|
* @param isEditorComposing - Is the editor in composition mode due to an active Input Method Editor?
|
|
* @returns A function that executes $canShowPlaceholder with arguments.
|
|
*/
|
|
export declare function $canShowPlaceholderCurry(isEditorComposing: boolean): () => boolean;
|