| OLD | NEW |
| 1 /** | 1 /** |
| 2 * Scalable Vector Graphics: | 2 * Scalable Vector Graphics: |
| 3 * Two-dimensional vector graphics with support for events and animation. | 3 * Two-dimensional vector graphics with support for events and animation. |
| 4 * | 4 * |
| 5 * For details about the features and syntax of SVG, a W3C standard, | 5 * For details about the features and syntax of SVG, a W3C standard, |
| 6 * refer to the | 6 * refer to the |
| 7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). | 7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). |
| 8 */ | 8 */ |
| 9 library dart.dom.svg; | 9 library dart.dom.svg; |
| 10 | 10 |
| (...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 // BSD-style license that can be found in the LICENSE file. | 701 // BSD-style license that can be found in the LICENSE file. |
| 702 | 702 |
| 703 | 703 |
| 704 @DocsEditable() | 704 @DocsEditable() |
| 705 @DomName('SVGElementInstance') | 705 @DomName('SVGElementInstance') |
| 706 @Unstable() | 706 @Unstable() |
| 707 class ElementInstance extends EventTarget native "SVGElementInstance" { | 707 class ElementInstance extends EventTarget native "SVGElementInstance" { |
| 708 // To suppress missing implicit constructor warnings. | 708 // To suppress missing implicit constructor warnings. |
| 709 factory ElementInstance._() { throw new UnsupportedError("Not supported"); } | 709 factory ElementInstance._() { throw new UnsupportedError("Not supported"); } |
| 710 | 710 |
| 711 /** |
| 712 * Static factory designed to expose `abort` events to event |
| 713 * handlers that are not necessarily instances of [ElementInstance]. |
| 714 * |
| 715 * See [EventStreamProvider] for usage information. |
| 716 */ |
| 711 @DomName('SVGElementInstance.abortEvent') | 717 @DomName('SVGElementInstance.abortEvent') |
| 712 @DocsEditable() | 718 @DocsEditable() |
| 713 static const EventStreamProvider<Event> abortEvent = const EventStreamProvider
<Event>('abort'); | 719 static const EventStreamProvider<Event> abortEvent = const EventStreamProvider
<Event>('abort'); |
| 714 | 720 |
| 721 /** |
| 722 * Static factory designed to expose `beforecopy` events to event |
| 723 * handlers that are not necessarily instances of [ElementInstance]. |
| 724 * |
| 725 * See [EventStreamProvider] for usage information. |
| 726 */ |
| 715 @DomName('SVGElementInstance.beforecopyEvent') | 727 @DomName('SVGElementInstance.beforecopyEvent') |
| 716 @DocsEditable() | 728 @DocsEditable() |
| 717 static const EventStreamProvider<Event> beforeCopyEvent = const EventStreamPro
vider<Event>('beforecopy'); | 729 static const EventStreamProvider<Event> beforeCopyEvent = const EventStreamPro
vider<Event>('beforecopy'); |
| 718 | 730 |
| 731 /** |
| 732 * Static factory designed to expose `beforecut` events to event |
| 733 * handlers that are not necessarily instances of [ElementInstance]. |
| 734 * |
| 735 * See [EventStreamProvider] for usage information. |
| 736 */ |
| 719 @DomName('SVGElementInstance.beforecutEvent') | 737 @DomName('SVGElementInstance.beforecutEvent') |
| 720 @DocsEditable() | 738 @DocsEditable() |
| 721 static const EventStreamProvider<Event> beforeCutEvent = const EventStreamProv
ider<Event>('beforecut'); | 739 static const EventStreamProvider<Event> beforeCutEvent = const EventStreamProv
ider<Event>('beforecut'); |
| 722 | 740 |
| 741 /** |
| 742 * Static factory designed to expose `beforepaste` events to event |
| 743 * handlers that are not necessarily instances of [ElementInstance]. |
| 744 * |
| 745 * See [EventStreamProvider] for usage information. |
| 746 */ |
| 723 @DomName('SVGElementInstance.beforepasteEvent') | 747 @DomName('SVGElementInstance.beforepasteEvent') |
| 724 @DocsEditable() | 748 @DocsEditable() |
| 725 static const EventStreamProvider<Event> beforePasteEvent = const EventStreamPr
ovider<Event>('beforepaste'); | 749 static const EventStreamProvider<Event> beforePasteEvent = const EventStreamPr
ovider<Event>('beforepaste'); |
| 726 | 750 |
| 751 /** |
| 752 * Static factory designed to expose `blur` events to event |
| 753 * handlers that are not necessarily instances of [ElementInstance]. |
| 754 * |
| 755 * See [EventStreamProvider] for usage information. |
| 756 */ |
| 727 @DomName('SVGElementInstance.blurEvent') | 757 @DomName('SVGElementInstance.blurEvent') |
| 728 @DocsEditable() | 758 @DocsEditable() |
| 729 static const EventStreamProvider<Event> blurEvent = const EventStreamProvider<
Event>('blur'); | 759 static const EventStreamProvider<Event> blurEvent = const EventStreamProvider<
Event>('blur'); |
| 730 | 760 |
| 761 /** |
| 762 * Static factory designed to expose `change` events to event |
| 763 * handlers that are not necessarily instances of [ElementInstance]. |
| 764 * |
| 765 * See [EventStreamProvider] for usage information. |
| 766 */ |
| 731 @DomName('SVGElementInstance.changeEvent') | 767 @DomName('SVGElementInstance.changeEvent') |
| 732 @DocsEditable() | 768 @DocsEditable() |
| 733 static const EventStreamProvider<Event> changeEvent = const EventStreamProvide
r<Event>('change'); | 769 static const EventStreamProvider<Event> changeEvent = const EventStreamProvide
r<Event>('change'); |
| 734 | 770 |
| 771 /** |
| 772 * Static factory designed to expose `click` events to event |
| 773 * handlers that are not necessarily instances of [ElementInstance]. |
| 774 * |
| 775 * See [EventStreamProvider] for usage information. |
| 776 */ |
| 735 @DomName('SVGElementInstance.clickEvent') | 777 @DomName('SVGElementInstance.clickEvent') |
| 736 @DocsEditable() | 778 @DocsEditable() |
| 737 static const EventStreamProvider<MouseEvent> clickEvent = const EventStreamPro
vider<MouseEvent>('click'); | 779 static const EventStreamProvider<MouseEvent> clickEvent = const EventStreamPro
vider<MouseEvent>('click'); |
| 738 | 780 |
| 781 /** |
| 782 * Static factory designed to expose `contextmenu` events to event |
| 783 * handlers that are not necessarily instances of [ElementInstance]. |
| 784 * |
| 785 * See [EventStreamProvider] for usage information. |
| 786 */ |
| 739 @DomName('SVGElementInstance.contextmenuEvent') | 787 @DomName('SVGElementInstance.contextmenuEvent') |
| 740 @DocsEditable() | 788 @DocsEditable() |
| 741 static const EventStreamProvider<MouseEvent> contextMenuEvent = const EventStr
eamProvider<MouseEvent>('contextmenu'); | 789 static const EventStreamProvider<MouseEvent> contextMenuEvent = const EventStr
eamProvider<MouseEvent>('contextmenu'); |
| 742 | 790 |
| 791 /** |
| 792 * Static factory designed to expose `copy` events to event |
| 793 * handlers that are not necessarily instances of [ElementInstance]. |
| 794 * |
| 795 * See [EventStreamProvider] for usage information. |
| 796 */ |
| 743 @DomName('SVGElementInstance.copyEvent') | 797 @DomName('SVGElementInstance.copyEvent') |
| 744 @DocsEditable() | 798 @DocsEditable() |
| 745 static const EventStreamProvider<Event> copyEvent = const EventStreamProvider<
Event>('copy'); | 799 static const EventStreamProvider<Event> copyEvent = const EventStreamProvider<
Event>('copy'); |
| 746 | 800 |
| 801 /** |
| 802 * Static factory designed to expose `cut` events to event |
| 803 * handlers that are not necessarily instances of [ElementInstance]. |
| 804 * |
| 805 * See [EventStreamProvider] for usage information. |
| 806 */ |
| 747 @DomName('SVGElementInstance.cutEvent') | 807 @DomName('SVGElementInstance.cutEvent') |
| 748 @DocsEditable() | 808 @DocsEditable() |
| 749 static const EventStreamProvider<Event> cutEvent = const EventStreamProvider<E
vent>('cut'); | 809 static const EventStreamProvider<Event> cutEvent = const EventStreamProvider<E
vent>('cut'); |
| 750 | 810 |
| 811 /** |
| 812 * Static factory designed to expose `doubleclick` events to event |
| 813 * handlers that are not necessarily instances of [ElementInstance]. |
| 814 * |
| 815 * See [EventStreamProvider] for usage information. |
| 816 */ |
| 751 @DomName('SVGElementInstance.dblclickEvent') | 817 @DomName('SVGElementInstance.dblclickEvent') |
| 752 @DocsEditable() | 818 @DocsEditable() |
| 753 static const EventStreamProvider<Event> doubleClickEvent = const EventStreamPr
ovider<Event>('dblclick'); | 819 static const EventStreamProvider<Event> doubleClickEvent = const EventStreamPr
ovider<Event>('dblclick'); |
| 754 | 820 |
| 821 /** |
| 822 * Static factory designed to expose `drag` events to event |
| 823 * handlers that are not necessarily instances of [ElementInstance]. |
| 824 * |
| 825 * See [EventStreamProvider] for usage information. |
| 826 */ |
| 755 @DomName('SVGElementInstance.dragEvent') | 827 @DomName('SVGElementInstance.dragEvent') |
| 756 @DocsEditable() | 828 @DocsEditable() |
| 757 static const EventStreamProvider<MouseEvent> dragEvent = const EventStreamProv
ider<MouseEvent>('drag'); | 829 static const EventStreamProvider<MouseEvent> dragEvent = const EventStreamProv
ider<MouseEvent>('drag'); |
| 758 | 830 |
| 831 /** |
| 832 * Static factory designed to expose `dragend` events to event |
| 833 * handlers that are not necessarily instances of [ElementInstance]. |
| 834 * |
| 835 * See [EventStreamProvider] for usage information. |
| 836 */ |
| 759 @DomName('SVGElementInstance.dragendEvent') | 837 @DomName('SVGElementInstance.dragendEvent') |
| 760 @DocsEditable() | 838 @DocsEditable() |
| 761 static const EventStreamProvider<MouseEvent> dragEndEvent = const EventStreamP
rovider<MouseEvent>('dragend'); | 839 static const EventStreamProvider<MouseEvent> dragEndEvent = const EventStreamP
rovider<MouseEvent>('dragend'); |
| 762 | 840 |
| 841 /** |
| 842 * Static factory designed to expose `dragenter` events to event |
| 843 * handlers that are not necessarily instances of [ElementInstance]. |
| 844 * |
| 845 * See [EventStreamProvider] for usage information. |
| 846 */ |
| 763 @DomName('SVGElementInstance.dragenterEvent') | 847 @DomName('SVGElementInstance.dragenterEvent') |
| 764 @DocsEditable() | 848 @DocsEditable() |
| 765 static const EventStreamProvider<MouseEvent> dragEnterEvent = const EventStrea
mProvider<MouseEvent>('dragenter'); | 849 static const EventStreamProvider<MouseEvent> dragEnterEvent = const EventStrea
mProvider<MouseEvent>('dragenter'); |
| 766 | 850 |
| 851 /** |
| 852 * Static factory designed to expose `dragleave` events to event |
| 853 * handlers that are not necessarily instances of [ElementInstance]. |
| 854 * |
| 855 * See [EventStreamProvider] for usage information. |
| 856 */ |
| 767 @DomName('SVGElementInstance.dragleaveEvent') | 857 @DomName('SVGElementInstance.dragleaveEvent') |
| 768 @DocsEditable() | 858 @DocsEditable() |
| 769 static const EventStreamProvider<MouseEvent> dragLeaveEvent = const EventStrea
mProvider<MouseEvent>('dragleave'); | 859 static const EventStreamProvider<MouseEvent> dragLeaveEvent = const EventStrea
mProvider<MouseEvent>('dragleave'); |
| 770 | 860 |
| 861 /** |
| 862 * Static factory designed to expose `dragover` events to event |
| 863 * handlers that are not necessarily instances of [ElementInstance]. |
| 864 * |
| 865 * See [EventStreamProvider] for usage information. |
| 866 */ |
| 771 @DomName('SVGElementInstance.dragoverEvent') | 867 @DomName('SVGElementInstance.dragoverEvent') |
| 772 @DocsEditable() | 868 @DocsEditable() |
| 773 static const EventStreamProvider<MouseEvent> dragOverEvent = const EventStream
Provider<MouseEvent>('dragover'); | 869 static const EventStreamProvider<MouseEvent> dragOverEvent = const EventStream
Provider<MouseEvent>('dragover'); |
| 774 | 870 |
| 871 /** |
| 872 * Static factory designed to expose `dragstart` events to event |
| 873 * handlers that are not necessarily instances of [ElementInstance]. |
| 874 * |
| 875 * See [EventStreamProvider] for usage information. |
| 876 */ |
| 775 @DomName('SVGElementInstance.dragstartEvent') | 877 @DomName('SVGElementInstance.dragstartEvent') |
| 776 @DocsEditable() | 878 @DocsEditable() |
| 777 static const EventStreamProvider<MouseEvent> dragStartEvent = const EventStrea
mProvider<MouseEvent>('dragstart'); | 879 static const EventStreamProvider<MouseEvent> dragStartEvent = const EventStrea
mProvider<MouseEvent>('dragstart'); |
| 778 | 880 |
| 881 /** |
| 882 * Static factory designed to expose `drop` events to event |
| 883 * handlers that are not necessarily instances of [ElementInstance]. |
| 884 * |
| 885 * See [EventStreamProvider] for usage information. |
| 886 */ |
| 779 @DomName('SVGElementInstance.dropEvent') | 887 @DomName('SVGElementInstance.dropEvent') |
| 780 @DocsEditable() | 888 @DocsEditable() |
| 781 static const EventStreamProvider<MouseEvent> dropEvent = const EventStreamProv
ider<MouseEvent>('drop'); | 889 static const EventStreamProvider<MouseEvent> dropEvent = const EventStreamProv
ider<MouseEvent>('drop'); |
| 782 | 890 |
| 891 /** |
| 892 * Static factory designed to expose `error` events to event |
| 893 * handlers that are not necessarily instances of [ElementInstance]. |
| 894 * |
| 895 * See [EventStreamProvider] for usage information. |
| 896 */ |
| 783 @DomName('SVGElementInstance.errorEvent') | 897 @DomName('SVGElementInstance.errorEvent') |
| 784 @DocsEditable() | 898 @DocsEditable() |
| 785 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 899 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 786 | 900 |
| 901 /** |
| 902 * Static factory designed to expose `focus` events to event |
| 903 * handlers that are not necessarily instances of [ElementInstance]. |
| 904 * |
| 905 * See [EventStreamProvider] for usage information. |
| 906 */ |
| 787 @DomName('SVGElementInstance.focusEvent') | 907 @DomName('SVGElementInstance.focusEvent') |
| 788 @DocsEditable() | 908 @DocsEditable() |
| 789 static const EventStreamProvider<Event> focusEvent = const EventStreamProvider
<Event>('focus'); | 909 static const EventStreamProvider<Event> focusEvent = const EventStreamProvider
<Event>('focus'); |
| 790 | 910 |
| 911 /** |
| 912 * Static factory designed to expose `input` events to event |
| 913 * handlers that are not necessarily instances of [ElementInstance]. |
| 914 * |
| 915 * See [EventStreamProvider] for usage information. |
| 916 */ |
| 791 @DomName('SVGElementInstance.inputEvent') | 917 @DomName('SVGElementInstance.inputEvent') |
| 792 @DocsEditable() | 918 @DocsEditable() |
| 793 static const EventStreamProvider<Event> inputEvent = const EventStreamProvider
<Event>('input'); | 919 static const EventStreamProvider<Event> inputEvent = const EventStreamProvider
<Event>('input'); |
| 794 | 920 |
| 921 /** |
| 922 * Static factory designed to expose `keydown` events to event |
| 923 * handlers that are not necessarily instances of [ElementInstance]. |
| 924 * |
| 925 * See [EventStreamProvider] for usage information. |
| 926 */ |
| 795 @DomName('SVGElementInstance.keydownEvent') | 927 @DomName('SVGElementInstance.keydownEvent') |
| 796 @DocsEditable() | 928 @DocsEditable() |
| 797 static const EventStreamProvider<KeyboardEvent> keyDownEvent = const EventStre
amProvider<KeyboardEvent>('keydown'); | 929 static const EventStreamProvider<KeyboardEvent> keyDownEvent = const EventStre
amProvider<KeyboardEvent>('keydown'); |
| 798 | 930 |
| 931 /** |
| 932 * Static factory designed to expose `keypress` events to event |
| 933 * handlers that are not necessarily instances of [ElementInstance]. |
| 934 * |
| 935 * See [EventStreamProvider] for usage information. |
| 936 */ |
| 799 @DomName('SVGElementInstance.keypressEvent') | 937 @DomName('SVGElementInstance.keypressEvent') |
| 800 @DocsEditable() | 938 @DocsEditable() |
| 801 static const EventStreamProvider<KeyboardEvent> keyPressEvent = const EventStr
eamProvider<KeyboardEvent>('keypress'); | 939 static const EventStreamProvider<KeyboardEvent> keyPressEvent = const EventStr
eamProvider<KeyboardEvent>('keypress'); |
| 802 | 940 |
| 941 /** |
| 942 * Static factory designed to expose `keyup` events to event |
| 943 * handlers that are not necessarily instances of [ElementInstance]. |
| 944 * |
| 945 * See [EventStreamProvider] for usage information. |
| 946 */ |
| 803 @DomName('SVGElementInstance.keyupEvent') | 947 @DomName('SVGElementInstance.keyupEvent') |
| 804 @DocsEditable() | 948 @DocsEditable() |
| 805 static const EventStreamProvider<KeyboardEvent> keyUpEvent = const EventStream
Provider<KeyboardEvent>('keyup'); | 949 static const EventStreamProvider<KeyboardEvent> keyUpEvent = const EventStream
Provider<KeyboardEvent>('keyup'); |
| 806 | 950 |
| 951 /** |
| 952 * Static factory designed to expose `load` events to event |
| 953 * handlers that are not necessarily instances of [ElementInstance]. |
| 954 * |
| 955 * See [EventStreamProvider] for usage information. |
| 956 */ |
| 807 @DomName('SVGElementInstance.loadEvent') | 957 @DomName('SVGElementInstance.loadEvent') |
| 808 @DocsEditable() | 958 @DocsEditable() |
| 809 static const EventStreamProvider<Event> loadEvent = const EventStreamProvider<
Event>('load'); | 959 static const EventStreamProvider<Event> loadEvent = const EventStreamProvider<
Event>('load'); |
| 810 | 960 |
| 961 /** |
| 962 * Static factory designed to expose `mousedown` events to event |
| 963 * handlers that are not necessarily instances of [ElementInstance]. |
| 964 * |
| 965 * See [EventStreamProvider] for usage information. |
| 966 */ |
| 811 @DomName('SVGElementInstance.mousedownEvent') | 967 @DomName('SVGElementInstance.mousedownEvent') |
| 812 @DocsEditable() | 968 @DocsEditable() |
| 813 static const EventStreamProvider<MouseEvent> mouseDownEvent = const EventStrea
mProvider<MouseEvent>('mousedown'); | 969 static const EventStreamProvider<MouseEvent> mouseDownEvent = const EventStrea
mProvider<MouseEvent>('mousedown'); |
| 814 | 970 |
| 971 /** |
| 972 * Static factory designed to expose `mouseenter` events to event |
| 973 * handlers that are not necessarily instances of [ElementInstance]. |
| 974 * |
| 975 * See [EventStreamProvider] for usage information. |
| 976 */ |
| 815 @DomName('SVGElementInstance.mouseenterEvent') | 977 @DomName('SVGElementInstance.mouseenterEvent') |
| 816 @DocsEditable() | 978 @DocsEditable() |
| 817 @Experimental() // untriaged | 979 @Experimental() // untriaged |
| 818 static const EventStreamProvider<MouseEvent> mouseEnterEvent = const EventStre
amProvider<MouseEvent>('mouseenter'); | 980 static const EventStreamProvider<MouseEvent> mouseEnterEvent = const EventStre
amProvider<MouseEvent>('mouseenter'); |
| 819 | 981 |
| 982 /** |
| 983 * Static factory designed to expose `mouseleave` events to event |
| 984 * handlers that are not necessarily instances of [ElementInstance]. |
| 985 * |
| 986 * See [EventStreamProvider] for usage information. |
| 987 */ |
| 820 @DomName('SVGElementInstance.mouseleaveEvent') | 988 @DomName('SVGElementInstance.mouseleaveEvent') |
| 821 @DocsEditable() | 989 @DocsEditable() |
| 822 @Experimental() // untriaged | 990 @Experimental() // untriaged |
| 823 static const EventStreamProvider<MouseEvent> mouseLeaveEvent = const EventStre
amProvider<MouseEvent>('mouseleave'); | 991 static const EventStreamProvider<MouseEvent> mouseLeaveEvent = const EventStre
amProvider<MouseEvent>('mouseleave'); |
| 824 | 992 |
| 993 /** |
| 994 * Static factory designed to expose `mousemove` events to event |
| 995 * handlers that are not necessarily instances of [ElementInstance]. |
| 996 * |
| 997 * See [EventStreamProvider] for usage information. |
| 998 */ |
| 825 @DomName('SVGElementInstance.mousemoveEvent') | 999 @DomName('SVGElementInstance.mousemoveEvent') |
| 826 @DocsEditable() | 1000 @DocsEditable() |
| 827 static const EventStreamProvider<MouseEvent> mouseMoveEvent = const EventStrea
mProvider<MouseEvent>('mousemove'); | 1001 static const EventStreamProvider<MouseEvent> mouseMoveEvent = const EventStrea
mProvider<MouseEvent>('mousemove'); |
| 828 | 1002 |
| 1003 /** |
| 1004 * Static factory designed to expose `mouseout` events to event |
| 1005 * handlers that are not necessarily instances of [ElementInstance]. |
| 1006 * |
| 1007 * See [EventStreamProvider] for usage information. |
| 1008 */ |
| 829 @DomName('SVGElementInstance.mouseoutEvent') | 1009 @DomName('SVGElementInstance.mouseoutEvent') |
| 830 @DocsEditable() | 1010 @DocsEditable() |
| 831 static const EventStreamProvider<MouseEvent> mouseOutEvent = const EventStream
Provider<MouseEvent>('mouseout'); | 1011 static const EventStreamProvider<MouseEvent> mouseOutEvent = const EventStream
Provider<MouseEvent>('mouseout'); |
| 832 | 1012 |
| 1013 /** |
| 1014 * Static factory designed to expose `mouseover` events to event |
| 1015 * handlers that are not necessarily instances of [ElementInstance]. |
| 1016 * |
| 1017 * See [EventStreamProvider] for usage information. |
| 1018 */ |
| 833 @DomName('SVGElementInstance.mouseoverEvent') | 1019 @DomName('SVGElementInstance.mouseoverEvent') |
| 834 @DocsEditable() | 1020 @DocsEditable() |
| 835 static const EventStreamProvider<MouseEvent> mouseOverEvent = const EventStrea
mProvider<MouseEvent>('mouseover'); | 1021 static const EventStreamProvider<MouseEvent> mouseOverEvent = const EventStrea
mProvider<MouseEvent>('mouseover'); |
| 836 | 1022 |
| 1023 /** |
| 1024 * Static factory designed to expose `mouseup` events to event |
| 1025 * handlers that are not necessarily instances of [ElementInstance]. |
| 1026 * |
| 1027 * See [EventStreamProvider] for usage information. |
| 1028 */ |
| 837 @DomName('SVGElementInstance.mouseupEvent') | 1029 @DomName('SVGElementInstance.mouseupEvent') |
| 838 @DocsEditable() | 1030 @DocsEditable() |
| 839 static const EventStreamProvider<MouseEvent> mouseUpEvent = const EventStreamP
rovider<MouseEvent>('mouseup'); | 1031 static const EventStreamProvider<MouseEvent> mouseUpEvent = const EventStreamP
rovider<MouseEvent>('mouseup'); |
| 840 | 1032 |
| 1033 /** |
| 1034 * Static factory designed to expose `mousewheel` events to event |
| 1035 * handlers that are not necessarily instances of [ElementInstance]. |
| 1036 * |
| 1037 * See [EventStreamProvider] for usage information. |
| 1038 */ |
| 841 @DomName('SVGElementInstance.mousewheelEvent') | 1039 @DomName('SVGElementInstance.mousewheelEvent') |
| 842 @DocsEditable() | 1040 @DocsEditable() |
| 843 static const EventStreamProvider<WheelEvent> mouseWheelEvent = const EventStre
amProvider<WheelEvent>('mousewheel'); | 1041 static const EventStreamProvider<WheelEvent> mouseWheelEvent = const EventStre
amProvider<WheelEvent>('mousewheel'); |
| 844 | 1042 |
| 1043 /** |
| 1044 * Static factory designed to expose `paste` events to event |
| 1045 * handlers that are not necessarily instances of [ElementInstance]. |
| 1046 * |
| 1047 * See [EventStreamProvider] for usage information. |
| 1048 */ |
| 845 @DomName('SVGElementInstance.pasteEvent') | 1049 @DomName('SVGElementInstance.pasteEvent') |
| 846 @DocsEditable() | 1050 @DocsEditable() |
| 847 static const EventStreamProvider<Event> pasteEvent = const EventStreamProvider
<Event>('paste'); | 1051 static const EventStreamProvider<Event> pasteEvent = const EventStreamProvider
<Event>('paste'); |
| 848 | 1052 |
| 1053 /** |
| 1054 * Static factory designed to expose `reset` events to event |
| 1055 * handlers that are not necessarily instances of [ElementInstance]. |
| 1056 * |
| 1057 * See [EventStreamProvider] for usage information. |
| 1058 */ |
| 849 @DomName('SVGElementInstance.resetEvent') | 1059 @DomName('SVGElementInstance.resetEvent') |
| 850 @DocsEditable() | 1060 @DocsEditable() |
| 851 static const EventStreamProvider<Event> resetEvent = const EventStreamProvider
<Event>('reset'); | 1061 static const EventStreamProvider<Event> resetEvent = const EventStreamProvider
<Event>('reset'); |
| 852 | 1062 |
| 1063 /** |
| 1064 * Static factory designed to expose `resize` events to event |
| 1065 * handlers that are not necessarily instances of [ElementInstance]. |
| 1066 * |
| 1067 * See [EventStreamProvider] for usage information. |
| 1068 */ |
| 853 @DomName('SVGElementInstance.resizeEvent') | 1069 @DomName('SVGElementInstance.resizeEvent') |
| 854 @DocsEditable() | 1070 @DocsEditable() |
| 855 static const EventStreamProvider<Event> resizeEvent = const EventStreamProvide
r<Event>('resize'); | 1071 static const EventStreamProvider<Event> resizeEvent = const EventStreamProvide
r<Event>('resize'); |
| 856 | 1072 |
| 1073 /** |
| 1074 * Static factory designed to expose `scroll` events to event |
| 1075 * handlers that are not necessarily instances of [ElementInstance]. |
| 1076 * |
| 1077 * See [EventStreamProvider] for usage information. |
| 1078 */ |
| 857 @DomName('SVGElementInstance.scrollEvent') | 1079 @DomName('SVGElementInstance.scrollEvent') |
| 858 @DocsEditable() | 1080 @DocsEditable() |
| 859 static const EventStreamProvider<Event> scrollEvent = const EventStreamProvide
r<Event>('scroll'); | 1081 static const EventStreamProvider<Event> scrollEvent = const EventStreamProvide
r<Event>('scroll'); |
| 860 | 1082 |
| 1083 /** |
| 1084 * Static factory designed to expose `search` events to event |
| 1085 * handlers that are not necessarily instances of [ElementInstance]. |
| 1086 * |
| 1087 * See [EventStreamProvider] for usage information. |
| 1088 */ |
| 861 @DomName('SVGElementInstance.searchEvent') | 1089 @DomName('SVGElementInstance.searchEvent') |
| 862 @DocsEditable() | 1090 @DocsEditable() |
| 863 // http://www.w3.org/TR/html-markup/input.search.html | 1091 // http://www.w3.org/TR/html-markup/input.search.html |
| 864 @Experimental() | 1092 @Experimental() |
| 865 static const EventStreamProvider<Event> searchEvent = const EventStreamProvide
r<Event>('search'); | 1093 static const EventStreamProvider<Event> searchEvent = const EventStreamProvide
r<Event>('search'); |
| 866 | 1094 |
| 1095 /** |
| 1096 * Static factory designed to expose `select` events to event |
| 1097 * handlers that are not necessarily instances of [ElementInstance]. |
| 1098 * |
| 1099 * See [EventStreamProvider] for usage information. |
| 1100 */ |
| 867 @DomName('SVGElementInstance.selectEvent') | 1101 @DomName('SVGElementInstance.selectEvent') |
| 868 @DocsEditable() | 1102 @DocsEditable() |
| 869 static const EventStreamProvider<Event> selectEvent = const EventStreamProvide
r<Event>('select'); | 1103 static const EventStreamProvider<Event> selectEvent = const EventStreamProvide
r<Event>('select'); |
| 870 | 1104 |
| 1105 /** |
| 1106 * Static factory designed to expose `selectstart` events to event |
| 1107 * handlers that are not necessarily instances of [ElementInstance]. |
| 1108 * |
| 1109 * See [EventStreamProvider] for usage information. |
| 1110 */ |
| 871 @DomName('SVGElementInstance.selectstartEvent') | 1111 @DomName('SVGElementInstance.selectstartEvent') |
| 872 @DocsEditable() | 1112 @DocsEditable() |
| 873 static const EventStreamProvider<Event> selectStartEvent = const EventStreamPr
ovider<Event>('selectstart'); | 1113 static const EventStreamProvider<Event> selectStartEvent = const EventStreamPr
ovider<Event>('selectstart'); |
| 874 | 1114 |
| 1115 /** |
| 1116 * Static factory designed to expose `submit` events to event |
| 1117 * handlers that are not necessarily instances of [ElementInstance]. |
| 1118 * |
| 1119 * See [EventStreamProvider] for usage information. |
| 1120 */ |
| 875 @DomName('SVGElementInstance.submitEvent') | 1121 @DomName('SVGElementInstance.submitEvent') |
| 876 @DocsEditable() | 1122 @DocsEditable() |
| 877 static const EventStreamProvider<Event> submitEvent = const EventStreamProvide
r<Event>('submit'); | 1123 static const EventStreamProvider<Event> submitEvent = const EventStreamProvide
r<Event>('submit'); |
| 878 | 1124 |
| 1125 /** |
| 1126 * Static factory designed to expose `unload` events to event |
| 1127 * handlers that are not necessarily instances of [ElementInstance]. |
| 1128 * |
| 1129 * See [EventStreamProvider] for usage information. |
| 1130 */ |
| 879 @DomName('SVGElementInstance.unloadEvent') | 1131 @DomName('SVGElementInstance.unloadEvent') |
| 880 @DocsEditable() | 1132 @DocsEditable() |
| 881 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide
r<Event>('unload'); | 1133 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide
r<Event>('unload'); |
| 882 | 1134 |
| 883 @DomName('SVGElementInstance.childNodes') | 1135 @DomName('SVGElementInstance.childNodes') |
| 884 @DocsEditable() | 1136 @DocsEditable() |
| 885 @Returns('_ElementInstanceList') | 1137 @Returns('_ElementInstanceList') |
| 886 @Creates('_ElementInstanceList') | 1138 @Creates('_ElementInstanceList') |
| 887 final List<ElementInstance> childNodes; | 1139 final List<ElementInstance> childNodes; |
| 888 | 1140 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 907 final ElementInstance nextSibling; | 1159 final ElementInstance nextSibling; |
| 908 | 1160 |
| 909 @DomName('SVGElementInstance.parentNode') | 1161 @DomName('SVGElementInstance.parentNode') |
| 910 @DocsEditable() | 1162 @DocsEditable() |
| 911 final ElementInstance parentNode; | 1163 final ElementInstance parentNode; |
| 912 | 1164 |
| 913 @DomName('SVGElementInstance.previousSibling') | 1165 @DomName('SVGElementInstance.previousSibling') |
| 914 @DocsEditable() | 1166 @DocsEditable() |
| 915 final ElementInstance previousSibling; | 1167 final ElementInstance previousSibling; |
| 916 | 1168 |
| 1169 /// Stream of `abort` events handled by this [ElementInstance]. |
| 917 @DomName('SVGElementInstance.onabort') | 1170 @DomName('SVGElementInstance.onabort') |
| 918 @DocsEditable() | 1171 @DocsEditable() |
| 919 Stream<Event> get onAbort => abortEvent.forTarget(this); | 1172 Stream<Event> get onAbort => abortEvent.forTarget(this); |
| 920 | 1173 |
| 1174 /// Stream of `beforecopy` events handled by this [ElementInstance]. |
| 921 @DomName('SVGElementInstance.onbeforecopy') | 1175 @DomName('SVGElementInstance.onbeforecopy') |
| 922 @DocsEditable() | 1176 @DocsEditable() |
| 923 Stream<Event> get onBeforeCopy => beforeCopyEvent.forTarget(this); | 1177 Stream<Event> get onBeforeCopy => beforeCopyEvent.forTarget(this); |
| 924 | 1178 |
| 1179 /// Stream of `beforecut` events handled by this [ElementInstance]. |
| 925 @DomName('SVGElementInstance.onbeforecut') | 1180 @DomName('SVGElementInstance.onbeforecut') |
| 926 @DocsEditable() | 1181 @DocsEditable() |
| 927 Stream<Event> get onBeforeCut => beforeCutEvent.forTarget(this); | 1182 Stream<Event> get onBeforeCut => beforeCutEvent.forTarget(this); |
| 928 | 1183 |
| 1184 /// Stream of `beforepaste` events handled by this [ElementInstance]. |
| 929 @DomName('SVGElementInstance.onbeforepaste') | 1185 @DomName('SVGElementInstance.onbeforepaste') |
| 930 @DocsEditable() | 1186 @DocsEditable() |
| 931 Stream<Event> get onBeforePaste => beforePasteEvent.forTarget(this); | 1187 Stream<Event> get onBeforePaste => beforePasteEvent.forTarget(this); |
| 932 | 1188 |
| 1189 /// Stream of `blur` events handled by this [ElementInstance]. |
| 933 @DomName('SVGElementInstance.onblur') | 1190 @DomName('SVGElementInstance.onblur') |
| 934 @DocsEditable() | 1191 @DocsEditable() |
| 935 Stream<Event> get onBlur => blurEvent.forTarget(this); | 1192 Stream<Event> get onBlur => blurEvent.forTarget(this); |
| 936 | 1193 |
| 1194 /// Stream of `change` events handled by this [ElementInstance]. |
| 937 @DomName('SVGElementInstance.onchange') | 1195 @DomName('SVGElementInstance.onchange') |
| 938 @DocsEditable() | 1196 @DocsEditable() |
| 939 Stream<Event> get onChange => changeEvent.forTarget(this); | 1197 Stream<Event> get onChange => changeEvent.forTarget(this); |
| 940 | 1198 |
| 1199 /// Stream of `click` events handled by this [ElementInstance]. |
| 941 @DomName('SVGElementInstance.onclick') | 1200 @DomName('SVGElementInstance.onclick') |
| 942 @DocsEditable() | 1201 @DocsEditable() |
| 943 Stream<MouseEvent> get onClick => clickEvent.forTarget(this); | 1202 Stream<MouseEvent> get onClick => clickEvent.forTarget(this); |
| 944 | 1203 |
| 1204 /// Stream of `contextmenu` events handled by this [ElementInstance]. |
| 945 @DomName('SVGElementInstance.oncontextmenu') | 1205 @DomName('SVGElementInstance.oncontextmenu') |
| 946 @DocsEditable() | 1206 @DocsEditable() |
| 947 Stream<MouseEvent> get onContextMenu => contextMenuEvent.forTarget(this); | 1207 Stream<MouseEvent> get onContextMenu => contextMenuEvent.forTarget(this); |
| 948 | 1208 |
| 1209 /// Stream of `copy` events handled by this [ElementInstance]. |
| 949 @DomName('SVGElementInstance.oncopy') | 1210 @DomName('SVGElementInstance.oncopy') |
| 950 @DocsEditable() | 1211 @DocsEditable() |
| 951 Stream<Event> get onCopy => copyEvent.forTarget(this); | 1212 Stream<Event> get onCopy => copyEvent.forTarget(this); |
| 952 | 1213 |
| 1214 /// Stream of `cut` events handled by this [ElementInstance]. |
| 953 @DomName('SVGElementInstance.oncut') | 1215 @DomName('SVGElementInstance.oncut') |
| 954 @DocsEditable() | 1216 @DocsEditable() |
| 955 Stream<Event> get onCut => cutEvent.forTarget(this); | 1217 Stream<Event> get onCut => cutEvent.forTarget(this); |
| 956 | 1218 |
| 1219 /// Stream of `doubleclick` events handled by this [ElementInstance]. |
| 957 @DomName('SVGElementInstance.ondblclick') | 1220 @DomName('SVGElementInstance.ondblclick') |
| 958 @DocsEditable() | 1221 @DocsEditable() |
| 959 Stream<Event> get onDoubleClick => doubleClickEvent.forTarget(this); | 1222 Stream<Event> get onDoubleClick => doubleClickEvent.forTarget(this); |
| 960 | 1223 |
| 1224 /// Stream of `drag` events handled by this [ElementInstance]. |
| 961 @DomName('SVGElementInstance.ondrag') | 1225 @DomName('SVGElementInstance.ondrag') |
| 962 @DocsEditable() | 1226 @DocsEditable() |
| 963 Stream<MouseEvent> get onDrag => dragEvent.forTarget(this); | 1227 Stream<MouseEvent> get onDrag => dragEvent.forTarget(this); |
| 964 | 1228 |
| 1229 /// Stream of `dragend` events handled by this [ElementInstance]. |
| 965 @DomName('SVGElementInstance.ondragend') | 1230 @DomName('SVGElementInstance.ondragend') |
| 966 @DocsEditable() | 1231 @DocsEditable() |
| 967 Stream<MouseEvent> get onDragEnd => dragEndEvent.forTarget(this); | 1232 Stream<MouseEvent> get onDragEnd => dragEndEvent.forTarget(this); |
| 968 | 1233 |
| 1234 /// Stream of `dragenter` events handled by this [ElementInstance]. |
| 969 @DomName('SVGElementInstance.ondragenter') | 1235 @DomName('SVGElementInstance.ondragenter') |
| 970 @DocsEditable() | 1236 @DocsEditable() |
| 971 Stream<MouseEvent> get onDragEnter => dragEnterEvent.forTarget(this); | 1237 Stream<MouseEvent> get onDragEnter => dragEnterEvent.forTarget(this); |
| 972 | 1238 |
| 1239 /// Stream of `dragleave` events handled by this [ElementInstance]. |
| 973 @DomName('SVGElementInstance.ondragleave') | 1240 @DomName('SVGElementInstance.ondragleave') |
| 974 @DocsEditable() | 1241 @DocsEditable() |
| 975 Stream<MouseEvent> get onDragLeave => dragLeaveEvent.forTarget(this); | 1242 Stream<MouseEvent> get onDragLeave => dragLeaveEvent.forTarget(this); |
| 976 | 1243 |
| 1244 /// Stream of `dragover` events handled by this [ElementInstance]. |
| 977 @DomName('SVGElementInstance.ondragover') | 1245 @DomName('SVGElementInstance.ondragover') |
| 978 @DocsEditable() | 1246 @DocsEditable() |
| 979 Stream<MouseEvent> get onDragOver => dragOverEvent.forTarget(this); | 1247 Stream<MouseEvent> get onDragOver => dragOverEvent.forTarget(this); |
| 980 | 1248 |
| 1249 /// Stream of `dragstart` events handled by this [ElementInstance]. |
| 981 @DomName('SVGElementInstance.ondragstart') | 1250 @DomName('SVGElementInstance.ondragstart') |
| 982 @DocsEditable() | 1251 @DocsEditable() |
| 983 Stream<MouseEvent> get onDragStart => dragStartEvent.forTarget(this); | 1252 Stream<MouseEvent> get onDragStart => dragStartEvent.forTarget(this); |
| 984 | 1253 |
| 1254 /// Stream of `drop` events handled by this [ElementInstance]. |
| 985 @DomName('SVGElementInstance.ondrop') | 1255 @DomName('SVGElementInstance.ondrop') |
| 986 @DocsEditable() | 1256 @DocsEditable() |
| 987 Stream<MouseEvent> get onDrop => dropEvent.forTarget(this); | 1257 Stream<MouseEvent> get onDrop => dropEvent.forTarget(this); |
| 988 | 1258 |
| 1259 /// Stream of `error` events handled by this [ElementInstance]. |
| 989 @DomName('SVGElementInstance.onerror') | 1260 @DomName('SVGElementInstance.onerror') |
| 990 @DocsEditable() | 1261 @DocsEditable() |
| 991 Stream<Event> get onError => errorEvent.forTarget(this); | 1262 Stream<Event> get onError => errorEvent.forTarget(this); |
| 992 | 1263 |
| 1264 /// Stream of `focus` events handled by this [ElementInstance]. |
| 993 @DomName('SVGElementInstance.onfocus') | 1265 @DomName('SVGElementInstance.onfocus') |
| 994 @DocsEditable() | 1266 @DocsEditable() |
| 995 Stream<Event> get onFocus => focusEvent.forTarget(this); | 1267 Stream<Event> get onFocus => focusEvent.forTarget(this); |
| 996 | 1268 |
| 1269 /// Stream of `input` events handled by this [ElementInstance]. |
| 997 @DomName('SVGElementInstance.oninput') | 1270 @DomName('SVGElementInstance.oninput') |
| 998 @DocsEditable() | 1271 @DocsEditable() |
| 999 Stream<Event> get onInput => inputEvent.forTarget(this); | 1272 Stream<Event> get onInput => inputEvent.forTarget(this); |
| 1000 | 1273 |
| 1274 /// Stream of `keydown` events handled by this [ElementInstance]. |
| 1001 @DomName('SVGElementInstance.onkeydown') | 1275 @DomName('SVGElementInstance.onkeydown') |
| 1002 @DocsEditable() | 1276 @DocsEditable() |
| 1003 Stream<KeyboardEvent> get onKeyDown => keyDownEvent.forTarget(this); | 1277 Stream<KeyboardEvent> get onKeyDown => keyDownEvent.forTarget(this); |
| 1004 | 1278 |
| 1279 /// Stream of `keypress` events handled by this [ElementInstance]. |
| 1005 @DomName('SVGElementInstance.onkeypress') | 1280 @DomName('SVGElementInstance.onkeypress') |
| 1006 @DocsEditable() | 1281 @DocsEditable() |
| 1007 Stream<KeyboardEvent> get onKeyPress => keyPressEvent.forTarget(this); | 1282 Stream<KeyboardEvent> get onKeyPress => keyPressEvent.forTarget(this); |
| 1008 | 1283 |
| 1284 /// Stream of `keyup` events handled by this [ElementInstance]. |
| 1009 @DomName('SVGElementInstance.onkeyup') | 1285 @DomName('SVGElementInstance.onkeyup') |
| 1010 @DocsEditable() | 1286 @DocsEditable() |
| 1011 Stream<KeyboardEvent> get onKeyUp => keyUpEvent.forTarget(this); | 1287 Stream<KeyboardEvent> get onKeyUp => keyUpEvent.forTarget(this); |
| 1012 | 1288 |
| 1289 /// Stream of `load` events handled by this [ElementInstance]. |
| 1013 @DomName('SVGElementInstance.onload') | 1290 @DomName('SVGElementInstance.onload') |
| 1014 @DocsEditable() | 1291 @DocsEditable() |
| 1015 Stream<Event> get onLoad => loadEvent.forTarget(this); | 1292 Stream<Event> get onLoad => loadEvent.forTarget(this); |
| 1016 | 1293 |
| 1294 /// Stream of `mousedown` events handled by this [ElementInstance]. |
| 1017 @DomName('SVGElementInstance.onmousedown') | 1295 @DomName('SVGElementInstance.onmousedown') |
| 1018 @DocsEditable() | 1296 @DocsEditable() |
| 1019 Stream<MouseEvent> get onMouseDown => mouseDownEvent.forTarget(this); | 1297 Stream<MouseEvent> get onMouseDown => mouseDownEvent.forTarget(this); |
| 1020 | 1298 |
| 1299 /// Stream of `mouseenter` events handled by this [ElementInstance]. |
| 1021 @DomName('SVGElementInstance.onmouseenter') | 1300 @DomName('SVGElementInstance.onmouseenter') |
| 1022 @DocsEditable() | 1301 @DocsEditable() |
| 1023 @Experimental() // untriaged | 1302 @Experimental() // untriaged |
| 1024 Stream<MouseEvent> get onMouseEnter => mouseEnterEvent.forTarget(this); | 1303 Stream<MouseEvent> get onMouseEnter => mouseEnterEvent.forTarget(this); |
| 1025 | 1304 |
| 1305 /// Stream of `mouseleave` events handled by this [ElementInstance]. |
| 1026 @DomName('SVGElementInstance.onmouseleave') | 1306 @DomName('SVGElementInstance.onmouseleave') |
| 1027 @DocsEditable() | 1307 @DocsEditable() |
| 1028 @Experimental() // untriaged | 1308 @Experimental() // untriaged |
| 1029 Stream<MouseEvent> get onMouseLeave => mouseLeaveEvent.forTarget(this); | 1309 Stream<MouseEvent> get onMouseLeave => mouseLeaveEvent.forTarget(this); |
| 1030 | 1310 |
| 1311 /// Stream of `mousemove` events handled by this [ElementInstance]. |
| 1031 @DomName('SVGElementInstance.onmousemove') | 1312 @DomName('SVGElementInstance.onmousemove') |
| 1032 @DocsEditable() | 1313 @DocsEditable() |
| 1033 Stream<MouseEvent> get onMouseMove => mouseMoveEvent.forTarget(this); | 1314 Stream<MouseEvent> get onMouseMove => mouseMoveEvent.forTarget(this); |
| 1034 | 1315 |
| 1316 /// Stream of `mouseout` events handled by this [ElementInstance]. |
| 1035 @DomName('SVGElementInstance.onmouseout') | 1317 @DomName('SVGElementInstance.onmouseout') |
| 1036 @DocsEditable() | 1318 @DocsEditable() |
| 1037 Stream<MouseEvent> get onMouseOut => mouseOutEvent.forTarget(this); | 1319 Stream<MouseEvent> get onMouseOut => mouseOutEvent.forTarget(this); |
| 1038 | 1320 |
| 1321 /// Stream of `mouseover` events handled by this [ElementInstance]. |
| 1039 @DomName('SVGElementInstance.onmouseover') | 1322 @DomName('SVGElementInstance.onmouseover') |
| 1040 @DocsEditable() | 1323 @DocsEditable() |
| 1041 Stream<MouseEvent> get onMouseOver => mouseOverEvent.forTarget(this); | 1324 Stream<MouseEvent> get onMouseOver => mouseOverEvent.forTarget(this); |
| 1042 | 1325 |
| 1326 /// Stream of `mouseup` events handled by this [ElementInstance]. |
| 1043 @DomName('SVGElementInstance.onmouseup') | 1327 @DomName('SVGElementInstance.onmouseup') |
| 1044 @DocsEditable() | 1328 @DocsEditable() |
| 1045 Stream<MouseEvent> get onMouseUp => mouseUpEvent.forTarget(this); | 1329 Stream<MouseEvent> get onMouseUp => mouseUpEvent.forTarget(this); |
| 1046 | 1330 |
| 1331 /// Stream of `mousewheel` events handled by this [ElementInstance]. |
| 1047 @DomName('SVGElementInstance.onmousewheel') | 1332 @DomName('SVGElementInstance.onmousewheel') |
| 1048 @DocsEditable() | 1333 @DocsEditable() |
| 1049 Stream<WheelEvent> get onMouseWheel => mouseWheelEvent.forTarget(this); | 1334 Stream<WheelEvent> get onMouseWheel => mouseWheelEvent.forTarget(this); |
| 1050 | 1335 |
| 1336 /// Stream of `paste` events handled by this [ElementInstance]. |
| 1051 @DomName('SVGElementInstance.onpaste') | 1337 @DomName('SVGElementInstance.onpaste') |
| 1052 @DocsEditable() | 1338 @DocsEditable() |
| 1053 Stream<Event> get onPaste => pasteEvent.forTarget(this); | 1339 Stream<Event> get onPaste => pasteEvent.forTarget(this); |
| 1054 | 1340 |
| 1341 /// Stream of `reset` events handled by this [ElementInstance]. |
| 1055 @DomName('SVGElementInstance.onreset') | 1342 @DomName('SVGElementInstance.onreset') |
| 1056 @DocsEditable() | 1343 @DocsEditable() |
| 1057 Stream<Event> get onReset => resetEvent.forTarget(this); | 1344 Stream<Event> get onReset => resetEvent.forTarget(this); |
| 1058 | 1345 |
| 1346 /// Stream of `resize` events handled by this [ElementInstance]. |
| 1059 @DomName('SVGElementInstance.onresize') | 1347 @DomName('SVGElementInstance.onresize') |
| 1060 @DocsEditable() | 1348 @DocsEditable() |
| 1061 Stream<Event> get onResize => resizeEvent.forTarget(this); | 1349 Stream<Event> get onResize => resizeEvent.forTarget(this); |
| 1062 | 1350 |
| 1351 /// Stream of `scroll` events handled by this [ElementInstance]. |
| 1063 @DomName('SVGElementInstance.onscroll') | 1352 @DomName('SVGElementInstance.onscroll') |
| 1064 @DocsEditable() | 1353 @DocsEditable() |
| 1065 Stream<Event> get onScroll => scrollEvent.forTarget(this); | 1354 Stream<Event> get onScroll => scrollEvent.forTarget(this); |
| 1066 | 1355 |
| 1356 /// Stream of `search` events handled by this [ElementInstance]. |
| 1067 @DomName('SVGElementInstance.onsearch') | 1357 @DomName('SVGElementInstance.onsearch') |
| 1068 @DocsEditable() | 1358 @DocsEditable() |
| 1069 // http://www.w3.org/TR/html-markup/input.search.html | 1359 // http://www.w3.org/TR/html-markup/input.search.html |
| 1070 @Experimental() | 1360 @Experimental() |
| 1071 Stream<Event> get onSearch => searchEvent.forTarget(this); | 1361 Stream<Event> get onSearch => searchEvent.forTarget(this); |
| 1072 | 1362 |
| 1363 /// Stream of `select` events handled by this [ElementInstance]. |
| 1073 @DomName('SVGElementInstance.onselect') | 1364 @DomName('SVGElementInstance.onselect') |
| 1074 @DocsEditable() | 1365 @DocsEditable() |
| 1075 Stream<Event> get onSelect => selectEvent.forTarget(this); | 1366 Stream<Event> get onSelect => selectEvent.forTarget(this); |
| 1076 | 1367 |
| 1368 /// Stream of `selectstart` events handled by this [ElementInstance]. |
| 1077 @DomName('SVGElementInstance.onselectstart') | 1369 @DomName('SVGElementInstance.onselectstart') |
| 1078 @DocsEditable() | 1370 @DocsEditable() |
| 1079 Stream<Event> get onSelectStart => selectStartEvent.forTarget(this); | 1371 Stream<Event> get onSelectStart => selectStartEvent.forTarget(this); |
| 1080 | 1372 |
| 1373 /// Stream of `submit` events handled by this [ElementInstance]. |
| 1081 @DomName('SVGElementInstance.onsubmit') | 1374 @DomName('SVGElementInstance.onsubmit') |
| 1082 @DocsEditable() | 1375 @DocsEditable() |
| 1083 Stream<Event> get onSubmit => submitEvent.forTarget(this); | 1376 Stream<Event> get onSubmit => submitEvent.forTarget(this); |
| 1084 | 1377 |
| 1378 /// Stream of `unload` events handled by this [ElementInstance]. |
| 1085 @DomName('SVGElementInstance.onunload') | 1379 @DomName('SVGElementInstance.onunload') |
| 1086 @DocsEditable() | 1380 @DocsEditable() |
| 1087 Stream<Event> get onUnload => unloadEvent.forTarget(this); | 1381 Stream<Event> get onUnload => unloadEvent.forTarget(this); |
| 1088 } | 1382 } |
| 1089 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1090 // for details. All rights reserved. Use of this source code is governed by a | 1384 // for details. All rights reserved. Use of this source code is governed by a |
| 1091 // BSD-style license that can be found in the LICENSE file. | 1385 // BSD-style license that can be found in the LICENSE file. |
| 1092 | 1386 |
| 1093 | 1387 |
| 1094 @DocsEditable() | 1388 @DocsEditable() |
| (...skipping 5675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6770 @DomName('SVGVKernElement.SVGVKernElement') | 7064 @DomName('SVGVKernElement.SVGVKernElement') |
| 6771 @DocsEditable() | 7065 @DocsEditable() |
| 6772 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 7066 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 6773 /** | 7067 /** |
| 6774 * Constructor instantiated by the DOM when a custom element has been created. | 7068 * Constructor instantiated by the DOM when a custom element has been created. |
| 6775 * | 7069 * |
| 6776 * This can only be called by subclasses from their created constructor. | 7070 * This can only be called by subclasses from their created constructor. |
| 6777 */ | 7071 */ |
| 6778 _SVGVKernElement.created() : super.created(); | 7072 _SVGVKernElement.created() : super.created(); |
| 6779 } | 7073 } |
| OLD | NEW |