https://github.com/poiscript/ngx-spine
https://github.com/poiscript/ngx-spine
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/poiscript/ngx-spine
- Owner: PoiScript
- License: other
- Created: 2019-09-28T07:42:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-28T15:43:57.000Z (over 6 years ago)
- Last Synced: 2025-09-11T09:03:18.330Z (4 months ago)
- Language: TypeScript
- Size: 1.74 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ngx-spine
[](https://travis-ci.org/PoiScript/ngx-spine)
Display Spine skeletal animation in Angular.
## Spine Support
`ngx-spine` supports both `json` and `skel` formats.
`ngx-spine` is built upon `spine-ts` 3.8, but it also supports Spine 3.6.x and
3.7.x.
## Install
``` sh
# using npm
$ npm -i ngx-spine
# or yarn
$ yarn add ngx-spine
```
## Usage
``` typescript
import { NgxSpineModule } from "ngx-spine";
@NgModule({
imports: [
NgxSpineModule,
/// ...
],
/// ...
})
export class AppModule {}
```
``` html
[(animation)]="animation"
[(animations)]="animations"
[(skin)]="skin"
[(skins)]="skins"
[dataUrls]="dataUrls"
[speed]="speed"
>
```