UNPKG

@nativescript/core

Version:

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

35 lines (34 loc) 1.71 kB
import * as inspectorCommands from './InspectorBackendCommands'; export declare class CSSDomainDebugger implements inspectorCommands.CSSDomain.CSSDomainDispatcher { private _enabled; events: inspectorCommands.CSSDomain.CSSFrontend; commands: any; constructor(); get enabled(): boolean; enable(): void; /** * Disables network tracking, prevents network events from being sent to the client. */ disable(): void; getMatchedStylesForNode(params: inspectorCommands.CSSDomain.GetMatchedStylesForNodeMethodArguments): { inlineStyle?: inspectorCommands.CSSDomain.CSSStyle; attributesStyle?: inspectorCommands.CSSDomain.CSSStyle; matchedCSSRules?: inspectorCommands.CSSDomain.RuleMatch[]; pseudoElements?: inspectorCommands.CSSDomain.PseudoElementMatches[]; inherited?: inspectorCommands.CSSDomain.InheritedStyleEntry[]; cssKeyframesRules?: inspectorCommands.CSSDomain.CSSKeyframesRule[]; }; getInlineStylesForNode(params: inspectorCommands.CSSDomain.GetInlineStylesForNodeMethodArguments): { inlineStyle?: inspectorCommands.CSSDomain.CSSStyle; attributesStyle?: inspectorCommands.CSSDomain.CSSStyle; }; getComputedStyleForNode(params: inspectorCommands.CSSDomain.GetComputedStyleForNodeMethodArguments): { computedStyle: inspectorCommands.CSSDomain.CSSComputedStyleProperty[]; }; getPlatformFontsForNode(params: inspectorCommands.CSSDomain.GetPlatformFontsForNodeMethodArguments): { fonts: inspectorCommands.CSSDomain.PlatformFontUsage[]; }; getStyleSheetText(params: inspectorCommands.CSSDomain.GetStyleSheetTextMethodArguments): { text: string; }; }