Skip to content

Instantly share code, notes, and snippets.

Avatar

kawinpop Prammanee kawinpop

  • Thailand
View GitHub Profile
View angular-ontouch
import { Directive, HostListener, Output, EventEmitter, Input } from '@angular/core';
@Directive({
selector: '[ng-touch]'
})
export class TouchDirective {
@Output()
touch = new EventEmitter();