preloadFont
function preloadFont(
id: string,
font: TLTypeFace,
targetDocument?: Document,
): Promise<FontFace>;Parameters
| Name | Description |
|---|---|
| |
| |
| |
Returns
Promise<FontFace>;Prev
parseTldrawJsonFileNext
putExcalidrawContentfunction preloadFont(
id: string,
font: TLTypeFace,
targetDocument?: Document,
): Promise<FontFace>;| Name | Description |
|---|---|
| |
| |
| |
Promise<FontFace>;