onycha 1.0.16-dev.1
onycha: ^1.0.16-dev.1 copied to clipboard

A router for RawDart SPA Development and AngularDart Development.

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(){

  }
}
<div
  swipy
  [swipeLeft]="swL"
  [swipeRight]="swR"
  [swipeDown]="swD"
  [swipeUp]="swU"
></div>

<div touchy [softTouchy]="soft" [hardTouchy]="hard"></div>

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
90
pub points
0%
popularity

A router for RawDart SPA Development and AngularDart Development.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

angular

More

Packages that depend on onycha