Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / dist / components / features / Portal / deps.d.ts
Size: Mime:
/**
 * also available from 'fbjs'
 */
export declare const canUseDOM: boolean;
/**
 * @description sometimes this throws, so we wrap this one function and scope the easily-deopted of trycatch
 */
export declare function removeElement(element: Element): boolean;
/**
 * @todo @@perf at least cache/memoize these functions to reduce dom reads
 */
export declare function getElementOrCreate(id: string): HTMLElement;
export declare function hasElementFor(idOrElement: string | HTMLElement): boolean;
export declare function getElemetFor(id: string): HTMLElement | null;
export declare function appendToBodyIfRequired(node: HTMLElement): void;