UNPKG

@kui-shell/plugin-client-common

Version:

Kui plugin that offers stylesheets

6 lines (5 loc) 327 B
import { MouseEvent } from 'react'; /** @return the selected text in the current window window */ export declare function getSelectionText(): string; /** Invoke the given handler only if there is no text selection */ export default function whenNothingIsSelected(handler: (evt: MouseEvent) => void): (evt: MouseEvent) => void;