preloadFont
See source codefunction preloadFont(id: string, font: TLTypeFace): Promise<FontFace>
Parameters
| Name | Description |
|---|---|
| |
|
Returns
Promise<FontFace>
Prev
parseTldrawJsonFileNext
registerDefaultExternalContentHandlersfunction preloadFont(id: string, font: TLTypeFace): Promise<FontFace>
| Name | Description |
|---|---|
| |
|
Promise<FontFace>