MCPcopy Index your code
hub / github.com/microsoft/rushstack / configureLoadStyles

Function configureLoadStyles

src/index.ts:85–87  ·  view source on GitHub ↗
(callback: (styles: string) => void)

Source from the content-addressed store, hash-verified

83 * @param {(styles: string) => void} a loadStyles callback that gets called when styles are loaded or reloaded
84 */
85export function configureLoadStyles(callback: (styles: string) => void): void {
86 _themeState.loadStyles = callback;
87}
88
89/**
90 * Loads a set of style text. If it is registered too early, we will register it when the window.load event

Callers 1

index.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected