@vnmfify/core
Version:
```shell npm i @vnmfify/core -S ```
14 lines (13 loc) • 987 B
TypeScript
import { VnmfElement } from "@vnxjs/runtime";
export declare const ELEMENT_NODE_TYPE = 1;
export declare function isWindow(val: unknown): val is Window;
export declare function isBodyElement(val: unknown): boolean;
export declare function isRootElement(node?: VnmfElement): boolean;
export declare function isBlockElement(node?: VnmfElement): boolean;
export declare function elementUnref(elementOrRef: any): VnmfElement;
export declare function matchSelector(aSelector?: string, bSelector?: string): boolean;
export declare function getElementSelector(id?: string, className?: string): string;
export declare function prependPageSelector(selector?: string): string | undefined;
export declare function usePrependPageSelector(selector?: string): string | undefined;
export declare function queryNodesRef(element: VnmfElement): import("@vnxjs/vnmf").NodesRef;
export declare function queryAllNodesRef(element: VnmfElement, selector?: string): import("@vnxjs/vnmf").NodesRef;