Skip to content

Commit

Permalink
docs(examples): update readme & screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Oct 31, 2022
1 parent 7c5c0cb commit b27fd07
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
Binary file modified assets/examples/zig-counter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion examples/zig-counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"thi.ng": {
"readme": [
"wasm-api",
"wasm-api-dom"
"wasm-api-dom",
"wasm-api-timer"
],
"screenshot": "examples/zig-counter.png"
}
Expand Down
13 changes: 13 additions & 0 deletions packages/wasm-api-timer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This project is part of the
- [Status](#status)
- [Installation](#installation)
- [Dependencies](#dependencies)
- [Usage examples](#usage-examples)
- [API](#api)
- [Authors](#authors)
- [License](#license)
Expand Down Expand Up @@ -92,6 +93,18 @@ Package sizes (gzipped, pre-treeshake): ESM: 446 bytes
- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
- [@thi.ng/wasm-api](https://github.com/thi-ng/umbrella/tree/develop/packages/wasm-api)

## Usage examples

Several demos in this repo's
[/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
directory are using this package.

A selection:

| Screenshot | Description | Live demo | Source |
|:-------------------------------------------------------------------------------------------------------------------|:--------------------------------------------|:--------------------------------------------------|:-------------------------------------------------------------------------------|
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/zig-counter.png" width="240"/> | Simple Zig/WASM click counter DOM component | [Demo](https://demo.thi.ng/umbrella/zig-counter/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/zig-counter) |

## API

[Generated API docs](https://docs.thi.ng/umbrella/wasm-api-timer/)
Expand Down

0 comments on commit b27fd07

Please sign in to comment.