mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 13:51:53 +02:00
8 lines
365 B
TypeScript
8 lines
365 B
TypeScript
declare type AcceptNode = (node: HTMLElement) => typeof NodeFilter.FILTER_ACCEPT | typeof NodeFilter.FILTER_SKIP | typeof NodeFilter.FILTER_REJECT;
|
|
export declare function useTreeWalker({ container, accept, walk, enabled, }: {
|
|
container: HTMLElement | null;
|
|
accept: AcceptNode;
|
|
walk(node: HTMLElement): void;
|
|
enabled?: boolean;
|
|
}): void;
|
|
export {};
|