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

Side by Side Diff: tools/dom/templates/html/impl/impl_Node.darttemplate

Issue 18182010: Make html metadata follow the spec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed DocsEditable, Experimental, Unstable Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of $LIBRARYNAME; 5 part of $LIBRARYNAME;
6 6
7 /** 7 /**
8 * Lazy implementation of the child nodes of an element that does not request 8 * Lazy implementation of the child nodes of an element that does not request
9 * the actual child nodes of an element until strictly necessary greatly 9 * the actual child nodes of an element until strictly necessary greatly
10 * improving performance for the typical cases where it is not required. 10 * improving performance for the typical cases where it is not required.
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 268
269 /** 269 /**
270 * Print out a String representation of this Node. 270 * Print out a String representation of this Node.
271 */ 271 */
272 String toString() => nodeValue == null ? super.toString() : nodeValue; 272 String toString() => nodeValue == null ? super.toString() : nodeValue;
273 273
274 /** 274 /**
275 * Binds the attribute [name] to the [path] of the [model]. 275 * Binds the attribute [name] to the [path] of the [model].
276 * Path is a String of accessors such as `foo.bar.baz`. 276 * Path is a String of accessors such as `foo.bar.baz`.
277 */ 277 */
278 @Experimental 278 @Experimental()
279 void bind(String name, model, String path) { 279 void bind(String name, model, String path) {
280 TemplateElement.mdvPackage(this).bind(name, model, path); 280 TemplateElement.mdvPackage(this).bind(name, model, path);
281 } 281 }
282 282
283 /** Unbinds the attribute [name]. */ 283 /** Unbinds the attribute [name]. */
284 @Experimental 284 @Experimental()
285 void unbind(String name) { 285 void unbind(String name) {
286 TemplateElement.mdvPackage(this).unbind(name); 286 TemplateElement.mdvPackage(this).unbind(name);
287 } 287 }
288 288
289 /** Unbinds all bound attributes. */ 289 /** Unbinds all bound attributes. */
290 @Experimental 290 @Experimental()
291 void unbindAll() { 291 void unbindAll() {
292 TemplateElement.mdvPackage(this).unbindAll(); 292 TemplateElement.mdvPackage(this).unbindAll();
293 } 293 }
294 294
295 /** Gets the template instance that instantiated this node, if any. */ 295 /** Gets the template instance that instantiated this node, if any. */
296 @Experimental 296 @Experimental()
297 TemplateInstance get templateInstance => 297 TemplateInstance get templateInstance =>
298 TemplateElement.mdvPackage(this).templateInstance; 298 TemplateElement.mdvPackage(this).templateInstance;
299 299
300 $!MEMBERS 300 $!MEMBERS
301 } 301 }
OLDNEW
« no previous file with comments | « tools/dom/templates/html/impl/impl_Navigator.darttemplate ('k') | tools/dom/templates/html/impl/impl_SVGColor.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698