Search
Used for dynamically adding fonts.
export interface FontFace { 'font-family': string; 'src': string; } addFont(fontFace: FontFace, callback?: () => void): void;
The font to be added.
The callback after adding the font.
lynx.addFont( { 'font-family': 'CustomFont', src: 'url("xxx")', }, () => { console.log('load font'); }, );
LCD tables only load in the browser with JavaScript enabled. Enable JavaScript to view data.