Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Unified Diff: lib/web_components.dart

Issue 11416259: fix #136, support watch exprs and two way bindings for component fields (Closed) Base URL: https://github.com/dart-lang/dart-web-components.git@master
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/info.dart ('k') | test/analyzer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/web_components.dart
diff --git a/lib/web_components.dart b/lib/web_components.dart
index 45071302c987a8e64072cf46ef01ccadd3e4c502..66f21a9ba8a9da42b6a3e4556936d8994443ada7 100644
--- a/lib/web_components.dart
+++ b/lib/web_components.dart
@@ -266,6 +266,8 @@ abstract class WebComponent implements Element {
// TODO(jmesserly): this forwarding is temporary until Dart supports
// subclassing Elements.
+ // TODO(jmesserly): we were missing the setter for title, are other things
+ // missing setters?
List<Node> get nodes => _element.nodes;
@@ -361,6 +363,8 @@ abstract class WebComponent implements Element {
String get title => _element.title;
+ set title(String value) { _element.title = value; }
+
bool get translate => _element.translate;
String get webkitdropzone => _element.webkitdropzone;
« no previous file with comments | « lib/src/info.dart ('k') | test/analyzer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698