搜索文档
用于动态添加字体。
export interface FontFace { 'font-family': string; 'src': string; } addFont(fontFace: FontFace, callback?: () => void): void;
需要添加的字体。
添加字体之后的回调。
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.