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

Unified Diff: lib/html/templates/html/interface/interface_Element.darttemplate

Issue 10987045: add Element.xtag to public interface (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: generate bindings Created 8 years, 3 months 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/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/templates/html/interface/interface_Element.darttemplate
diff --git a/lib/html/templates/html/interface/interface_Element.darttemplate b/lib/html/templates/html/interface/interface_Element.darttemplate
index 3cdb7017e3db71a093b98337cf9fe74435917db8..b44ce0a5a5fea05f63f80025a39c35120a2edcab 100644
--- a/lib/html/templates/html/interface/interface_Element.darttemplate
+++ b/lib/html/templates/html/interface/interface_Element.darttemplate
@@ -115,5 +115,17 @@ abstract class Element implements Node, NodeSelector {
Element get parent;
+ /**
+ * Experimental support for [web components][wc]. This field stores a
+ * reference to the component implementation. It was inspired by Mozilla's
+ * [x-tags][] project. Please note: in the future it may be possible to
+ * `extend Element` from your class, in which case this field will be
+ * deprecated and will simply return this [Element] object.
+ *
+ * [wc]: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html
+ * [x-tags]: http://x-tags.org/
+ */
+ var xtag;
+
$!MEMBERS
}
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698