Skip to content

Instantly share code, notes, and snippets.

Avatar
🍖
🍺 🚀

Yimi Yimiprod

🍖
🍺 🚀
  • France
View GitHub Profile
View greetings.rock
The Universe says Hi Stranger
Tranquility is destination (1)
Listen to the stars
The Light says New Friend
If the stars ain't gone
Put the stars into the light
The Sun is too antediluvian (32 / space)
The Moon is your fate (44 / comma)
@ozexpert
ozexpert / ionic2.image-cache.directive.ts
Last active Mar 21, 2018
AngularJS2 / Ionic2 : ImageCache Directive to use with imgcache.js
View ionic2.image-cache.directive.ts
import { Directive, ElementRef, Input } from '@angular/core';
declare var ImgCache: any;
@Directive({
selector: '[image-cache]'
})
export class ImageCacheDirective {
constructor (
private el: ElementRef
You can’t perform that action at this time.