UNPKG

@jirkasa/code-box

Version:

Showcase code samples on the web with a container that lets users select and display different samples.

12 lines (11 loc) 585 B
import CodeBoxBuilder from "../CodeBoxBuilder"; /** Builder of virtual code box. */ declare class VirtualCodeBoxBuilder implements CodeBoxBuilder { customizeRootElement(element: HTMLElement): void; createCodeViewContainer(): HTMLElement; getCodeViewContainerCSSHiddenClass(): string; createNoCodeViewSelectedElement(height: string, text: string): HTMLElement; getNoCodeViewCSSHiddenClass(): string; assembleElements(rootElement: HTMLElement, codeViewContainer: HTMLElement, noCodeViewSelectedElement: HTMLElement): void; } export default VirtualCodeBoxBuilder;