Skip to content

Commit

Permalink
fix: add dom-node declarations (#4359)
Browse files Browse the repository at this point in the history
  • Loading branch information
sis0k0 authored and Vasil Chimev committed Jun 12, 2017
1 parent f246215 commit 08af2ef
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tns-core-modules/debugger/dom-node.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { ViewBase } from "../ui/core/view";
import { CSSComputedStyleProperty } from "./css-agent";
export declare function getNodeById(id: number): DOMNode;
export declare class DOMNode {
nodeId: any;
nodeType: any;
nodeName: any;
localName: any;
nodeValue: string;
attributes: string[];
viewRef: WeakRef<ViewBase>;
constructor(view: ViewBase);
loadAttributes(): void;
readonly children: DOMNode[];
onChildAdded(childView: ViewBase): void;
onChildRemoved(view: ViewBase): void;
attributeModified(name: string, value: any): void;
attributeRemoved(name: string): void;
getComputedProperties(): CSSComputedStyleProperty[];
dispose(): void;
toJSON(): string;
}

0 comments on commit 08af2ef

Please sign in to comment.