OLD | NEW |
1 library dart.dom.svg; | 1 library dart.dom.svg; |
2 | 2 |
3 import 'dart:async'; | 3 import 'dart:async'; |
4 import 'dart:collection'; | 4 import 'dart:collection'; |
5 import 'dart:html'; | 5 import 'dart:html'; |
6 import 'dart:html_common'; | 6 import 'dart:html_common'; |
7 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa
me; | 7 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa
me; |
8 import 'dart:_foreign_helper' show JS; | 8 import 'dart:_foreign_helper' show JS; |
9 // DO NOT EDIT | 9 // DO NOT EDIT |
10 // Auto-generated dart:svg library. | 10 // Auto-generated dart:svg library. |
(...skipping 5753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5764 for (String name in classname.split(' ')) { | 5764 for (String name in classname.split(' ')) { |
5765 String trimmed = name.trim(); | 5765 String trimmed = name.trim(); |
5766 if (!trimmed.isEmpty) { | 5766 if (!trimmed.isEmpty) { |
5767 s.add(trimmed); | 5767 s.add(trimmed); |
5768 } | 5768 } |
5769 } | 5769 } |
5770 return s; | 5770 return s; |
5771 } | 5771 } |
5772 | 5772 |
5773 void writeClasses(Set s) { | 5773 void writeClasses(Set s) { |
5774 List list = new List.from(s); | 5774 _element.attributes['class'] = s.join(' '); |
5775 _element.attributes['class'] = Strings.join(list, ' '); | |
5776 } | 5775 } |
5777 } | 5776 } |
5778 | 5777 |
5779 @DomName('SVGElement') | 5778 @DomName('SVGElement') |
5780 class SvgElement extends Element native "*SVGElement" { | 5779 class SvgElement extends Element native "*SVGElement" { |
5781 factory SvgElement.tag(String tag) => | 5780 factory SvgElement.tag(String tag) => |
5782 _SvgElementFactoryProvider.createSvgElement_tag(tag); | 5781 _SvgElementFactoryProvider.createSvgElement_tag(tag); |
5783 factory SvgElement.svg(String svg) => | 5782 factory SvgElement.svg(String svg) => |
5784 _SvgElementFactoryProvider.createSvgElement_svg(svg); | 5783 _SvgElementFactoryProvider.createSvgElement_svg(svg); |
5785 | 5784 |
(...skipping 1941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7727 | 7726 |
7728 | 7727 |
7729 @DocsEditable | 7728 @DocsEditable |
7730 @DomName('SVGVKernElement') | 7729 @DomName('SVGVKernElement') |
7731 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { | 7730 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { |
7732 | 7731 |
7733 @DomName('SVGVKernElement.SVGVKernElement') | 7732 @DomName('SVGVKernElement.SVGVKernElement') |
7734 @DocsEditable | 7733 @DocsEditable |
7735 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 7734 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
7736 } | 7735 } |
OLD | NEW |