Skip to content

Function: preloadTextEngine() ​

ts
function preloadTextEngine(): Promise<void>;

Experimental

Start fetching the SDF text engine without typesetting anything, e.g. in parallel with loading data, so the first labels appear without the extra round trip. Text primitives load it on their own when they first get labels; charts without any text never load it.

Returns ​

Promise<void>

Released under the MIT License.