@jirkasa/code-box
Version:
Showcase code samples on the web with a container that lets users select and display different samples.
17 lines (16 loc) • 479 B
TypeScript
/** Manager of highlight box. */
declare class HighlightBoxManager {
/** Function that is called when detach method is called. */
onDetach: (() => void) | null;
/** Function that is called when unlinkCodeView method is called. */
onUnlinkCodeView: (() => void) | null;
/**
* Detaches highlight box.
*/
detach(): void;
/**
* Unlinks code view from highlight box.
*/
unlinkCodeView(): void;
}
export default HighlightBoxManager;