14 lines
722 B
TypeScript
14 lines
722 B
TypeScript
/**
|
|
* 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;
|