tikitaki 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# TikiTaki
|
|
2
2
|
|
|
3
3
|
[](https://github.com/gagarinbefree/TikiTaki/actions/workflows/npm-publish.yml)
|
|
4
|
-
[](https://github.com/gagarinbefree/TikiTaki/releases/latest)
|
|
5
5
|
[](https://www.npmjs.com/package/tikitaki)
|
|
6
6
|
|
|
7
7
|
[Live demo](https://gagarinbefree.github.io/TikiTaki/) · [Releases](https://github.com/gagarinbefree/TikiTaki/releases) · [Report an issue](https://github.com/gagarinbefree/TikiTaki/issues/new)
|
|
8
8
|
|
|
9
9
|
[Read the introduction on DEV Community](https://dev.to/gagarinbefree/tikitaki-two-dimensional-swipe-navigation-in-typescript-without-runtime-dependencies-285j)
|
|
10
10
|
|
|
11
|
-
**Latest release:** <!-- release-version -->v0.1.
|
|
11
|
+
**Latest release:** <!-- release-version -->v0.1.9<!-- /release-version -->
|
|
12
12
|
|
|
13
13
|
TikiTaki is a TypeScript library for swipe navigation through a two-dimensional grid whose rows can have different lengths. Use it for paged interfaces, galleries, stories, or component-based feeds. You supply the content; TikiTaki handles navigation, pointer gestures, animation, and cell lifecycle.
|
|
14
14
|
|
|
@@ -187,7 +187,7 @@ From a checkout with dependencies installed:
|
|
|
187
187
|
npm run demo
|
|
188
188
|
```
|
|
189
189
|
|
|
190
|
-
Open the address printed by Vite, then choose Vanilla JS, React, Vue, Svelte, Angular, or Lit. The [Vanilla JS example](./demos/vanilla/) uses the DOM API directly without a UI framework. The [Lit example](./demos/lit/) uses Lit templates for cell rendering and the interactive map, with a demo-local adapter that mounts, updates, and clears each cell template. Lit is a development dependency for the demo; the core package does not depend on it. Each demo starts at A1 and supports swipes, wheel navigation, and an interactive cell map.
|
|
190
|
+
Open the address printed by Vite, then choose Vanilla JS, React, Vue, Svelte, Angular, or Lit. The [Vanilla JS example](./demos/vanilla/) uses the DOM API directly without a UI framework. The [Lit example](./demos/lit/) uses Lit templates for cell rendering and the interactive map, with a demo-local adapter that mounts, updates, and clears each cell template. Lit is a development dependency for the demo; the core package does not depend on it. Each demo starts at A1 and supports swipes, wheel navigation, and an interactive cell map. On narrow screens, the swipe view fills the viewport and the map becomes small centered dots at the bottom, with a larger dot for the current cell. Wider screens keep the portrait view and labeled map side by side.
|
|
191
191
|
|
|
192
192
|
```sh
|
|
193
193
|
npm run demo:build
|