OLD | NEW |
1 // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update` | 1 // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update` |
2 | 2 |
3 /// Dart API for the polymer element `google_map_marker`. | 3 /// Dart API for the polymer element `google_map_marker`. |
4 @HtmlImport('google_map_marker_nodart.html') | 4 @HtmlImport('google_map_marker_nodart.html') |
5 library polymer_elements.lib.src.google_map.google_map_marker; | 5 library polymer_elements.lib.src.google_map.google_map_marker; |
6 | 6 |
7 import 'dart:html'; | 7 import 'dart:html'; |
8 import 'dart:js' show JsArray, JsObject; | 8 import 'dart:js' show JsArray, JsObject; |
9 import 'package:web_components/web_components.dart'; | 9 import 'package:web_components/web_components.dart'; |
10 import 'package:polymer_interop/polymer_interop.dart'; | 10 import 'package:polymer_interop/polymer_interop.dart'; |
(...skipping 22 matching lines...) Expand all Loading... |
33 /// | 33 /// |
34 /// <b>Example</b> - hide a marker: | 34 /// <b>Example</b> - hide a marker: |
35 /// | 35 /// |
36 /// <google-map-marker latitude="37.77493" longitude="-122.41942" | 36 /// <google-map-marker latitude="37.77493" longitude="-122.41942" |
37 /// hidden></google-map-marker> | 37 /// hidden></google-map-marker> |
38 @CustomElementProxy('google-map-marker') | 38 @CustomElementProxy('google-map-marker') |
39 class GoogleMapMarker extends HtmlElement with CustomElementProxyMixin, PolymerB
ase { | 39 class GoogleMapMarker extends HtmlElement with CustomElementProxyMixin, PolymerB
ase { |
40 GoogleMapMarker.created() : super.created(); | 40 GoogleMapMarker.created() : super.created(); |
41 factory GoogleMapMarker() => new Element.tag('google-map-marker'); | 41 factory GoogleMapMarker() => new Element.tag('google-map-marker'); |
42 | 42 |
| 43 /// A animation for the marker. "DROP" or "BOUNCE". See |
| 44 /// https://developers.google.com/maps/documentation/javascript/examples/marke
r-animations. |
| 45 String get animation => jsElement[r'animation']; |
| 46 set animation(String value) { jsElement[r'animation'] = value; } |
| 47 |
43 /// When true, marker *click events are automatically registered. | 48 /// When true, marker *click events are automatically registered. |
44 bool get clickEvents => jsElement[r'clickEvents']; | 49 bool get clickEvents => jsElement[r'clickEvents']; |
45 set clickEvents(bool value) { jsElement[r'clickEvents'] = value; } | 50 set clickEvents(bool value) { jsElement[r'clickEvents'] = value; } |
46 | 51 |
47 /// Image URL for the marker icon. | 52 /// Image URL for the marker icon. |
48 get icon => jsElement[r'icon']; | 53 get icon => jsElement[r'icon']; |
49 set icon(value) { jsElement[r'icon'] = (value is Map || (value is Iterable &&
value is! JsArray)) ? new JsObject.jsify(value) : value;} | 54 set icon(value) { jsElement[r'icon'] = (value is Map || (value is Iterable &&
value is! JsArray)) ? new JsObject.jsify(value) : value;} |
50 | 55 |
51 /// A Google Map Infowindow object. | 56 /// A Google Map Infowindow object. |
52 get info => jsElement[r'info']; | 57 get info => jsElement[r'info']; |
(...skipping 12 matching lines...) Expand all Loading... |
65 set map(value) { jsElement[r'map'] = (value is Map || (value is Iterable && va
lue is! JsArray)) ? new JsObject.jsify(value) : value;} | 70 set map(value) { jsElement[r'map'] = (value is Map || (value is Iterable && va
lue is! JsArray)) ? new JsObject.jsify(value) : value;} |
66 | 71 |
67 /// A Google Maps marker object. | 72 /// A Google Maps marker object. |
68 get marker => jsElement[r'marker']; | 73 get marker => jsElement[r'marker']; |
69 set marker(value) { jsElement[r'marker'] = (value is Map || (value is Iterable
&& value is! JsArray)) ? new JsObject.jsify(value) : value;} | 74 set marker(value) { jsElement[r'marker'] = (value is Map || (value is Iterable
&& value is! JsArray)) ? new JsObject.jsify(value) : value;} |
70 | 75 |
71 /// When true, marker mouse* events are automatically registered. | 76 /// When true, marker mouse* events are automatically registered. |
72 bool get mouseEvents => jsElement[r'mouseEvents']; | 77 bool get mouseEvents => jsElement[r'mouseEvents']; |
73 set mouseEvents(bool value) { jsElement[r'mouseEvents'] = value; } | 78 set mouseEvents(bool value) { jsElement[r'mouseEvents'] = value; } |
74 | 79 |
| 80 /// Specifies whether the InfoWindow is open or not |
| 81 bool get open => jsElement[r'open']; |
| 82 set open(bool value) { jsElement[r'open'] = value; } |
| 83 |
75 /// Z-index for the marker icon. | 84 /// Z-index for the marker icon. |
76 num get zIndex => jsElement[r'zIndex']; | 85 num get zIndex => jsElement[r'zIndex']; |
77 set zIndex(num value) { jsElement[r'zIndex'] = value; } | 86 set zIndex(num value) { jsElement[r'zIndex'] = value; } |
78 } | 87 } |
OLD | NEW |