1.3.1 • Published 8 years ago

tns-ng-gif v1.3.1

Weekly downloads
28
License
ISC
Repository
github
Last release
8 years ago

Display an animated gif in a NativeScript Image

A simple NativeScript plugin to display animated gif into an Image layout.

Works only with an Angular powered NativeScript application. Both Android and iOS platforms are supported.

Usage

import the GifModule into your Module:

import { GifModule } from 'tns-ng-gif';

@NgModule({
    imports: [
        GifModule,
        ...
    ],
    declarations: [
        ...
    ]
})
export class YourModule { }

Then, just add the tnsGif to an Image layout. Use the existing src property to load the gif file:

  <Image [tnsGif] src="~/path/to/your.gif"></Image>

Result on an iOS device: 

GifDemo

1.3.1

8 years ago

1.3.0

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago