by bdauria | v1.3.1
Display an animated gif in a NativeScript Image.
npm i --save tns-ng-gif
  • Version: 1.3.1
  • GitHub:
  • Downloads:
    • Last Day:   0
    • Last Week:  0
    • Last Month: 0

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.


import the GifModule into your Module:

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

imports: [
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: