Commit graph

20 commits

Author SHA1 Message Date
Hermet Park
651979b68d Update README.md
Added an thorvg NPM link in the Lottie Player documentation.
2024-02-29 11:36:45 +09:00
Jinny You
d8891187cd web: code refactoring
improved code consistency:
- removed double-quotes on string literal.
- removed double-equals (==)
- updated comments
2024-02-09 14:12:06 +09:00
Jinny You
abef84e935 web: Support save2png 2024-01-04 17:14:42 +09:00
Jinny You
44a8f9ffe1 web: Improve stop animation behavior
`stop` worked like `pause`, when stopping animation, frame should be at 0
2024-01-04 17:14:42 +09:00
Jinny You
2e2d19b98c web: Fix animation loading bug
when `lottie-player` has no `src` at first rendering, programmatical load wasn't working
2024-01-04 17:14:42 +09:00
Jinny You
8e50ea4a18 web: Add extra feature & property
- Support `resize` method
- Add `resolution` prop
2024-01-04 17:14:42 +09:00
Jinny You
3896d21c3a web/examples: Add save2tvg 2024-01-03 13:51:42 +09:00
Jinny You
20a6ca19e7 web: Support file types
- added new exportable type `tvg`
- support jpg/png/svg/tvg load
2024-01-03 13:51:42 +09:00
Jinny You
2c6c8d3b21
updated copyright date (#1866) 2023-12-28 10:43:25 +09:00
Jinny You
1544ce2ba2 web: Add a readme 2023-12-20 15:45:14 +09:00
Jinny You
d5f141ce14 web: Add config to support npm module 2023-12-20 15:45:14 +09:00
Jinny You
e67add4d87 web: Add examples
- `index.html` : basic example
- `benchmark.html` : to check FPS, memory usage, latency(ms)
2023-12-20 15:45:14 +09:00
Jinny You
3fe025f81f web: Implement features
- define separated model for better readability of interface
- implemented thorvg basic features

added features:
- Add version info
- Support setBgColor
- Support save2gif
- Support bounce mode
- Support intermission
- Support skipping needless animation by dom visible
2023-12-20 15:45:14 +09:00
Jinny You
c913d2ef69 web: Add wasm loading logic 2023-12-20 15:45:14 +09:00
Jinny You
b4916fdec4 web: Add library build script 2023-12-20 15:45:14 +09:00
Jinny You
41dae07872 web: Add lit element
- introduce a `lit`(https://lit.dev)
- lit is most popular web component builder
- with lit, we can build high-performance WP with less code
2023-12-20 15:45:14 +09:00
Jinny You
05fe9ec4a5 web: Set up eslint 2023-12-20 15:45:14 +09:00
Jinny You
de01f861dd web: Set up typescript 2023-12-20 15:45:14 +09:00
Jinny You
2ab0010685 web: Add gitignore 2023-12-20 15:45:14 +09:00
Jinny You
c99864e475 web: Add a package manifest info 2023-12-20 15:45:14 +09:00