1.4.0 • Published 3 years ago

tswlib v1.4.0

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago

Overview

This library can be used to create client-side web applications. All rendering of HTML is done entirely in the Typescript code. The library has no dependencies.

Example

This is an example of a very simple script which displays a list of text items:

const items = ["item 1", "item 2", "item 3"];

const content =
	tsw.html.ul().children([
		items.map(item => tsw.html.li().children(item)),
	]);

tsw.setContent(document.body, content);
1.4.0

3 years ago

1.3.1

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago