| title | @pangular-inspector/devtools/popup |
|---|---|
| description | Every symbol the @pangular-inspector/devtools/popup entry point exports, with its declaration and JSDoc, generated from the package source. |
@pangular-inspector/devtools/popup exports, generated from the package source.
Import from @pangular-inspector/devtools/popup. This page is generated from packages/devtools/src/popup.ts and the files it re-exports. Run pnpm docs:api after you change the public API.
Function. Source: packages/devtools/src/popup.ts.
Adds the floating button and returns its handle. src is the page the panel
loads; without it the panel looks for the hub, then for the devtools alone.
A later call returns the same handle and applies a new src.
function createDevtoolsPopup(
options: {src?: string; hotkey?: string | false} = {},
): {toggle: () => void; destroy: () => void} | undefined;Function. Source: packages/devtools/src/popup.ts.
Removes the popup, waiting for one that is still being created.
async function hideDevtools(): Promise<void>;Interface. Source: packages/devtools/src/popup.ts.
What the launcher pill shows, as the overlay last counted it.
interface LauncherCounts {
/** Component template updates since the page loaded. */
renders: number;
/** Errors the errors inspector caught, each repeat included. */
errors: number;
}Function. Source: packages/devtools/src/popup.ts.
A count short enough for the pill: 999, 1.2k, 12k, 1.2M.
function shortCount(value: number): string;Function. Source: packages/devtools/src/popup.ts.
Adds the floating button. The panel finds the devtools server when it first opens.
function showDevtools(): Promise<void>;