API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeFontFamily
@codexo/exojs / rendering / stable
A CSS font-family string. When FontRegistry has entries the type narrows to registered names ∪ arbitrary strings (for unregistered fonts); without registry entries it falls back to plain `string`.
0
props
0
methods
0
events
Import
import { FontFamily } from '@codexo/exojs'A CSS font-family string. When FontRegistry has entries the type narrows to registered names ∪ arbitrary strings (for unregistered fonts); without registry entries it falls back to plain `string`.
Definition1
[keyof FontRegistryOpen interface for compile-time font-family autocomplete via declaration merging. Register loaded font families in your app's `.d.ts`: ```ts declare module 'ex…] extends [never] ? string : keyof FontRegistryOpen interface for compile-time font-family autocomplete via declaration merging. Register loaded font families in your app's `.d.ts`: ```ts declare module 'ex… | string & objectSource