ng2-json-editor
Version:
Angular2 component for editing large json documents
21 lines (20 loc) • 920 B
TypeScript
import { TabsUtilService } from './tabs-util.service';
import { ListPageChangerService } from './list-page-changer.service';
import { JsonPatch } from '../interfaces';
export declare class DomUtilService {
private tabsUtilService;
private listPageChangerService;
private readonly editableSelector;
private readonly highlightClass;
private highlightedElement;
constructor(tabsUtilService: TabsUtilService, listPageChangerService: ListPageChangerService);
focusAndSelectFirstEditableChildById(id: string, highlight?: boolean): void;
private focusAndSelectContent(el, highlight);
focusFirstInputChildByElement(el: HTMLElement): void;
focusRightOrLeftParentCell(id: string, direction: number): void;
blurFirstEditableChildById(id: string): void;
clearHighlight(): void;
focusPatch(patch: JsonPatch): void;
private selectAllContent(el);
private openDropdown(el);
}