Last updated:
0 purchases
onycha
A touch detection directive for AngularDart. Features include touch, swiping, panning, dragging and dropping.
Onycha Usage #
A simple usage example: (Currently in beta mode)
import 'package:onycha/onycha.dart';
@Component(
...
directives: [Swipy, Touchy],
)
class ExampleComponent{
void swR(){
...
}
void swL(){
...
}
void swD(){
...
}
void swU(){
...
}
void soft(){
}
void hard(){
}
}
copied to clipboard
<div
swipy
[swipeLeft]="swL"
[swipeRight]="swR"
[swipeDown]="swD"
[swipeUp]="swU"
></div>
<div touchy [softTouchy]="soft" [hardTouchy]="hard"></div>
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.