- Complete React app with 7 developer tools - JSON Tool with visual structured editor - Serialize Tool with visual structured editor - URL, Base64, CSV/JSON, Beautifier, Diff tools - Responsive navigation with dropdown menu - Dark/light mode toggle - Mobile-responsive design with sticky header - All tools working with copy/paste functionality
17 lines
568 B
TypeScript
17 lines
568 B
TypeScript
declare enum selectionSupportType {
|
|
'text' = "text",
|
|
'search' = "search",
|
|
'url' = "url",
|
|
'tel' = "tel",
|
|
'password' = "password"
|
|
}
|
|
export declare function hasSelectionSupport(element: Element): element is HTMLTextAreaElement | (HTMLInputElement & {
|
|
type: selectionSupportType;
|
|
});
|
|
export declare function getSelectionRange(element: Element): {
|
|
selectionStart: number | null;
|
|
selectionEnd: number | null;
|
|
};
|
|
export declare function setSelectionRange(element: Element, newSelectionStart: number, newSelectionEnd: number): void;
|
|
export {};
|