Logo
Explore Help
Sign In
iSharkFly-Docs/angular-docs-cn
1
0
Fork 0
You've already forked angular-docs-cn
Code Issues Pull Requests Packages Projects Releases Wiki Activity
angular-docs-cn/public/docs/_examples/attribute-directives/dart/lib/app_component.dart

13 lines
237 B
Dart
Raw Normal View History

docs(guide/attributes-directives): Dart version of sample #closes #451
2015-12-07 09:58:04 -07:00
// #docregion
docs(dart): update to b12 Also update dart_to_js_script_rewriter dependency to ^1.0.1, and change most angular2.dart imports to be core.dart instead. The pipes example broke without the angular2.dart import, so I let it be. The server-communication sample has never worked for me, so I changed it but might have broken it further. closes #1007
2016-03-25 16:03:53 -07:00
import 'package:angular2/core.dart';
docs(dart): update sample code to be more uniform, use b2 closes #766
2016-01-27 15:51:50 -08:00
import 'highlight_directive.dart';
docs(guide/attributes-directives): Dart version of sample #closes #451
2015-12-07 09:58:04 -07:00
@Component(
selector: 'my-app',
templateUrl: 'app_component.html',
directives: const [Highlight])
class AppComponent {
String color;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 39ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API