mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: format
This commit is contained in:
40
nativescript-core/debugger/dom-node.d.ts
vendored
40
nativescript-core/debugger/dom-node.d.ts
vendored
@@ -2,26 +2,26 @@ import { ViewBase } from "../ui/core/view-base";
|
||||
import { CSSComputedStyleProperty } from "./css-agent";
|
||||
export declare function getNodeById(id: number): DOMNode;
|
||||
declare class WeakRef<T> {
|
||||
constructor(obj: T);
|
||||
get(): T;
|
||||
clear(): void;
|
||||
constructor(obj: T);
|
||||
get(): T;
|
||||
clear(): void;
|
||||
}
|
||||
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;
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user