FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: add dom-node declarations (#4359) · NativeScript/NativeScript@08af2ef · GitHub

Commit 08af2ef

Browse files
authored andcommitted
fix: add dom-node declarations (#4359)
1 parent f246215 commit 08af2ef

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { ViewBase } from "../ui/core/view";
2+
import { CSSComputedStyleProperty } from "./css-agent";
3+
export declare function getNodeById(id: number): DOMNode;
4+
export declare class DOMNode {
5+
nodeId: any;
6+
nodeType: any;
7+
nodeName: any;
8+
localName: any;
9+
nodeValue: string;
10+
attributes: string[];
11+
viewRef: WeakRef<ViewBase>;
12+
constructor(view: ViewBase);
13+
loadAttributes(): void;
14+
readonly children: DOMNode[];
15+
onChildAdded(childView: ViewBase): void;
16+
onChildRemoved(view: ViewBase): void;
17+
attributeModified(name: string, value: any): void;
18+
attributeRemoved(name: string): void;
19+
getComputedProperties(): CSSComputedStyleProperty[];
20+
dispose(): void;
21+
toJSON(): string;
22+
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL