UNPKG

@nativescript/core

Version:

A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.

25 lines (24 loc) 881 B
import { InspectorEvents } from './devtools-elements-interfaces'; import { CSSComputedStyleProperty } from './css-agent'; import type { ViewBase } from '../ui/core/view-base'; export declare function getNodeById(id: number): DOMNode; export declare function registerInspectorEvents(inspector: InspectorEvents): 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; get children(): DOMNode[]; onChildAdded(childView: ViewBase): void; onChildRemoved(view: ViewBase): void; attributeModified(name: string, value: any): void; attributeRemoved(name: string): void; getComputedProperties(): CSSComputedStyleProperty[]; dispose(): void; toObject(): any; }