| Index: third_party/pkg/angular/example/web/animation.dart
|
| diff --git a/third_party/pkg/angular/example/web/animation.dart b/third_party/pkg/angular/example/web/animation.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e2c915bbb810f95cdffd03784256b9ff8fd96133
|
| --- /dev/null
|
| +++ b/third_party/pkg/angular/example/web/animation.dart
|
| @@ -0,0 +1,34 @@
|
| +library animation;
|
| +
|
| +import 'package:angular/angular.dart';
|
| +import 'package:angular/application_factory.dart';
|
| +import 'package:angular/animate/module.dart';
|
| +
|
| +part 'animation/repeat_demo.dart';
|
| +part 'animation/visibility_demo.dart';
|
| +part 'animation/stress_demo.dart';
|
| +part 'animation/css_demo.dart';
|
| +
|
| +@Controller(
|
| + selector: '[animation-demo]',
|
| + publishAs: 'demo')
|
| +class AnimationDemo {
|
| + final pages = ["About", "ng-repeat", "Visibility", "Css", "Stress Test"];
|
| + var currentPage = "About";
|
| +}
|
| +
|
| +class AnimationDemoModule extends Module {
|
| + AnimationDemoModule() {
|
| + install(new AnimationModule());
|
| + type(RepeatDemo);
|
| + type(VisibilityDemo);
|
| + type(StressDemo);
|
| + type(CssDemo);
|
| + type(AnimationDemo);
|
| + }
|
| +}
|
| +main() {
|
| + applicationFactory()
|
| + .addModule(new AnimationDemoModule())
|
| + .run();
|
| +}
|
|
|