Appearance
Demos
The source of the demos is available at https://github.com/techandsoftware/teletext-for-javascript-docs/tree/main/demos
TIP
The source in the repository includes some helper code for Vitepress integration, which can be ignored.
The first demo creates the teletext object, loads into the <div>
container, and shows a built-in test page.
Code
javascript
import { Teletext } from '@techandsoftware/teletext';
const t = Teletext();
t.addTo('#screen');
t.setDefaultG0Charset('g0_latin__english');
t.showTestPage('ENGINEERING');
| |