How to use unsupported method in storybook-root

Best JavaScript code snippet using storybook-root

custom_icon_list.ts

Source:custom_icon_list.ts Github

copy

Full Screen

1// aliases: ['add_to_drive', 'add_moderator', 'add_link', 'add_chart', 'add_call'],2export const customIconList = [3 {4 name: '1k_plus',5 version: -1,6 unsupported_families: [],7 categories: [],8 tags: [],9 sizes_px: [],10 },11 { name: '19mp', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },12 {13 name: '18mp',14 version: -1,15 unsupported_families: [],16 categories: [],17 tags: [],18 sizes_px: [],19 },20 { name: '17mp', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },21 {22 name: '16mp',23 version: -1,24 unsupported_families: [],25 categories: [],26 tags: [],27 sizes_px: [],28 },29 { name: '15mp', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },30 {31 name: '14mp',32 version: -1,33 unsupported_families: [],34 categories: [],35 tags: [],36 sizes_px: [],37 },38 { name: '13mp', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },39 {40 name: '12mp',41 version: -1,42 unsupported_families: [],43 categories: [],44 tags: [],45 sizes_px: [],46 },47 { name: '11mp', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },48 {49 name: '10mp',50 version: -1,51 unsupported_families: [],52 categories: [],53 tags: [],54 sizes_px: [],55 },56 { name: '10k', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },57 {58 name: '1k',59 version: -1,60 unsupported_families: [],61 categories: [],62 tags: [],63 sizes_px: [],64 },65 { name: '2k_plus', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },66 {67 name: '24mp',68 version: -1,69 unsupported_families: [],70 categories: [],71 tags: [],72 sizes_px: [],73 },74 { name: '23mp', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },75 {76 name: '22mp',77 version: -1,78 unsupported_families: [],79 categories: [],80 tags: [],81 sizes_px: [],82 },83 { name: '21mp', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },84 {85 name: '20mp',86 version: -1,87 unsupported_families: [],88 categories: [],89 tags: [],90 sizes_px: [],91 },92 { name: '2mp', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },93 {94 name: '2k',95 version: -1,96 unsupported_families: [],97 categories: [],98 tags: [],99 sizes_px: [],100 },101 { name: '3k_plus', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },102 {103 name: '3mp',104 version: -1,105 unsupported_families: [],106 categories: [],107 tags: [],108 sizes_px: [],109 },110 { name: '3k', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },111 {112 name: '4k_plus',113 version: -1,114 unsupported_families: [],115 categories: [],116 tags: [],117 sizes_px: [],118 },119 { name: '4mp', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },120 {121 name: '5mp',122 version: -1,123 unsupported_families: [],124 categories: [],125 tags: [],126 sizes_px: [],127 },128 { name: '5k_plus', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },129 {130 name: '5k',131 version: -1,132 unsupported_families: [],133 categories: [],134 tags: [],135 sizes_px: [],136 },137 { name: '6mp', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },138 {139 name: '6k_plus',140 version: -1,141 unsupported_families: [],142 categories: [],143 tags: [],144 sizes_px: [],145 },146 { name: '6k', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },147 {148 name: '7k_plus',149 version: -1,150 unsupported_families: [],151 categories: [],152 tags: [],153 sizes_px: [],154 },155 { name: '7mp', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },156 {157 name: '7k',158 version: -1,159 unsupported_families: [],160 categories: [],161 tags: [],162 sizes_px: [],163 },164 { name: '8k_plus', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },165 {166 name: '8mp',167 version: -1,168 unsupported_families: [],169 categories: [],170 tags: [],171 sizes_px: [],172 },173 { name: '8k', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },174 {175 name: '9k_plus',176 version: -1,177 unsupported_families: [],178 categories: [],179 tags: [],180 sizes_px: [],181 },182 { name: '9mp', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },183 {184 name: '9k',185 version: -1,186 unsupported_families: [],187 categories: [],188 tags: [],189 sizes_px: [],190 },191 {192 name: 'auto_stories',193 version: -1,194 unsupported_families: [],195 categories: [],196 tags: [],197 sizes_px: [],198 },199 {200 name: 'auto_fix_off',201 version: -1,202 unsupported_families: [],203 categories: [],204 tags: [],205 sizes_px: [],206 },207 {208 name: 'auto_fix_normal',209 version: -1,210 unsupported_families: [],211 categories: [],212 tags: [],213 sizes_px: [],214 },215 {216 name: 'auto_fix_high',217 version: -1,218 unsupported_families: [],219 categories: [],220 tags: [],221 sizes_px: [],222 },223 {224 name: 'auto_awesome_motion',225 version: -1,226 unsupported_families: [],227 categories: [],228 tags: [],229 sizes_px: [],230 },231 {232 name: 'auto_awesome_mosaic',233 version: -1,234 unsupported_families: [],235 categories: [],236 tags: [],237 sizes_px: [],238 },239 {240 name: 'auto_awesome',241 version: -1,242 unsupported_families: [],243 categories: [],244 tags: [],245 sizes_px: [],246 },247 {248 name: 'attractions',249 version: -1,250 unsupported_families: [],251 categories: [],252 tags: [],253 sizes_px: [],254 },255 {256 name: 'assistant_navigation',257 version: -1,258 unsupported_families: [],259 categories: ['navigation'],260 tags: [],261 sizes_px: [],262 },263 {264 name: 'assistant_direction',265 version: -1,266 unsupported_families: [],267 categories: [],268 tags: [],269 sizes_px: [],270 },271 {272 name: 'approval',273 version: -1,274 unsupported_families: [],275 categories: [],276 tags: [],277 sizes_px: [],278 },279 {280 name: 'app_registration',281 version: -1,282 unsupported_families: [],283 categories: [],284 tags: [],285 sizes_px: [],286 },287 {288 name: 'animation',289 version: -1,290 unsupported_families: [],291 categories: [],292 tags: [],293 sizes_px: [],294 },295 {296 name: 'airplanemode_on',297 version: -1,298 unsupported_families: [],299 categories: ['device'],300 tags: [],301 sizes_px: [],302 aliasOf: 'airplanemode_active',303 },304 {305 name: 'airplanemode_off',306 version: -1,307 unsupported_families: [],308 categories: ['device'],309 tags: [],310 sizes_px: [],311 aliasOf: 'airplanemode_inactive',312 },313 {314 name: 'add_to_drive',315 version: -1,316 unsupported_families: [],317 categories: ['action'],318 tags: [],319 sizes_px: [],320 aliasOf: 'add',321 },322 {323 name: 'add_moderator',324 version: -1,325 unsupported_families: [],326 categories: ['action'],327 tags: [],328 sizes_px: [],329 aliasOf: 'add',330 },331 {332 name: 'add_link',333 version: -1,334 unsupported_families: [],335 categories: ['content'],336 tags: [],337 sizes_px: [],338 aliasOf: 'add',339 },340 {341 name: 'add_chart',342 version: -1,343 unsupported_families: [],344 categories: [],345 tags: [],346 sizes_px: [],347 aliasOf: 'add',348 },349 {350 name: 'add_call',351 version: -1,352 unsupported_families: [],353 categories: ['communication'],354 tags: [],355 sizes_px: [],356 aliasOf: 'add_ic_call',357 },358 {359 name: 'bus_alert',360 version: -1,361 unsupported_families: [],362 categories: [],363 tags: [],364 sizes_px: [],365 aliasOf: 'add',366 },367 {368 name: 'brunch_dining',369 version: -1,370 unsupported_families: [],371 categories: [],372 tags: [],373 sizes_px: [],374 },375 {376 name: 'breakfast_dining',377 version: -1,378 unsupported_families: [],379 categories: [],380 tags: [],381 sizes_px: [],382 },383 {384 name: 'border_color',385 version: -1,386 unsupported_families: [],387 categories: ['editor'],388 tags: [],389 sizes_px: [],390 },391 {392 name: 'bookmark_outline',393 version: -1,394 unsupported_families: [],395 categories: [],396 tags: [],397 sizes_px: [],398 },399 { name: 'bolt', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },400 {401 name: 'block_flipped',402 version: -1,403 unsupported_families: [],404 categories: [],405 tags: [],406 sizes_px: [],407 },408 { name: 'bakery_dining', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },409 {410 name: 'badge',411 version: -1,412 unsupported_families: [],413 categories: [],414 tags: [],415 sizes_px: [],416 },417 {418 name: 'connected_tv',419 version: -1,420 unsupported_families: [],421 categories: ['av'],422 tags: [],423 sizes_px: [],424 },425 {426 name: 'confirmation_num',427 version: -1,428 unsupported_families: [],429 categories: [],430 tags: [],431 sizes_px: [],432 },433 {434 name: 'compress',435 version: -1,436 unsupported_families: [],437 categories: [],438 tags: [],439 sizes_px: [],440 },441 {442 name: 'closed_caption_off',443 version: -1,444 unsupported_families: [],445 categories: ['av'],446 tags: [],447 sizes_px: [],448 },449 {450 name: 'circle_notifications',451 version: -1,452 unsupported_families: [],453 categories: [],454 tags: [],455 sizes_px: [],456 },457 { name: 'circle', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },458 {459 name: 'cell_wifi',460 version: -1,461 unsupported_families: [],462 categories: [],463 tags: [],464 sizes_px: [],465 },466 { name: 'celebration', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },467 {468 name: 'cases',469 version: -1,470 unsupported_families: [],471 categories: [],472 tags: [],473 sizes_px: [],474 },475 {476 name: 'car_repair',477 version: -1,478 unsupported_families: [],479 categories: [],480 tags: [],481 sizes_px: [],482 },483 {484 name: 'car_rental',485 version: -1,486 unsupported_families: [],487 categories: [],488 tags: [],489 sizes_px: [],490 },491 {492 name: 'dry_cleaning',493 version: -1,494 unsupported_families: [],495 categories: [],496 tags: [],497 sizes_px: [],498 },499 {500 name: 'drive_folder_upload',501 version: -1,502 unsupported_families: [],503 categories: [],504 tags: [],505 sizes_px: [],506 },507 {508 name: 'drive_file_rename_outline',509 version: -1,510 unsupported_families: [],511 categories: [],512 tags: [],513 sizes_px: [],514 },515 {516 name: 'drive_file_move_outline',517 version: -1,518 unsupported_families: [],519 categories: [],520 tags: [],521 sizes_px: [],522 },523 {524 name: 'drive_file_move',525 version: -1,526 unsupported_families: [],527 categories: [],528 tags: [],529 sizes_px: [],530 },531 {532 name: 'do_not_disturb_on',533 version: -1,534 unsupported_families: [],535 categories: ['notification'],536 tags: [],537 sizes_px: [],538 },539 {540 name: 'do_not_disturb_off',541 version: -1,542 unsupported_families: [],543 categories: ['notification'],544 tags: [],545 sizes_px: [],546 },547 {548 name: 'do_not_disturb_alt',549 version: -1,550 unsupported_families: [],551 categories: ['notification'],552 tags: [],553 sizes_px: [],554 },555 {556 name: 'do_not_disturb',557 version: -1,558 unsupported_families: [],559 categories: ['notification'],560 tags: [],561 sizes_px: [],562 },563 {564 name: 'dnd_forwardslash',565 version: -1,566 unsupported_families: [],567 categories: ['notification'],568 tags: [],569 sizes_px: [],570 },571 {572 name: 'dirty_lens',573 version: -1,574 unsupported_families: [],575 categories: ['image'],576 tags: [],577 sizes_px: [],578 },579 {580 name: 'directions_train',581 version: -1,582 unsupported_families: [],583 categories: [],584 tags: [],585 sizes_px: [],586 aliasOf: 'directions_railway',587 },588 {589 name: 'directions_ferry',590 version: -1,591 unsupported_families: [],592 categories: [],593 tags: [],594 sizes_px: [],595 aliasOf: 'directions_boat',596 },597 {598 name: 'dinner_dining',599 version: -1,600 unsupported_families: [],601 categories: [],602 tags: [],603 sizes_px: [],604 },605 {606 name: 'device_thermostat',607 version: -1,608 unsupported_families: [],609 categories: [],610 tags: [],611 sizes_px: [],612 },613 {614 name: 'delivery_dining',615 version: -1,616 unsupported_families: [],617 categories: [],618 tags: [],619 sizes_px: [],620 },621 {622 name: 'dashboard_customize',623 version: -1,624 unsupported_families: [],625 categories: [],626 tags: [],627 sizes_px: [],628 },629 {630 name: 'dangerous',631 version: -1,632 unsupported_families: [],633 categories: [],634 tags: [],635 sizes_px: [],636 },637 {638 name: 'exposure_minus_2',639 version: -1,640 unsupported_families: [],641 categories: ['image'],642 tags: [],643 sizes_px: [],644 aliasOf: 'exposure_minus_2',645 },646 {647 name: 'exposure_minus_1',648 version: -1,649 unsupported_families: [],650 categories: ['image'],651 tags: [],652 sizes_px: [],653 aliasOf: 'exposure_minus_1',654 },655 {656 name: 'expand',657 version: -1,658 unsupported_families: [],659 categories: [],660 tags: [],661 sizes_px: [],662 },663 {664 name: 'enhance_photo_translate',665 version: -1,666 unsupported_families: [],667 categories: [],668 tags: [],669 sizes_px: [],670 },671 {672 name: 'electric_rickshaw',673 version: -1,674 unsupported_families: [],675 categories: ['maps'],676 tags: [],677 sizes_px: [],678 },679 {680 name: 'edit_off',681 version: -1,682 unsupported_families: [],683 categories: [],684 tags: [],685 sizes_px: [],686 },687 {688 name: 'format_underline',689 version: -1,690 unsupported_families: [],691 categories: ['editor'],692 tags: [],693 sizes_px: [],694 aliasOf: 'format_underlined',695 },696 {697 name: 'format_color_text',698 version: -1,699 unsupported_families: [],700 categories: [],701 tags: [],702 sizes_px: [],703 },704 {705 name: 'format_color_fill',706 version: -1,707 unsupported_families: [],708 categories: [],709 tags: [],710 sizes_px: [],711 },712 {713 name: 'fit_screen',714 version: -1,715 unsupported_families: [],716 categories: [],717 tags: [],718 sizes_px: [],719 },720 {721 name: 'fire_hydrant',722 version: -1,723 unsupported_families: [],724 categories: [],725 tags: [],726 sizes_px: [],727 },728 {729 name: 'filter_list_alt',730 version: -1,731 unsupported_families: [],732 categories: [],733 tags: [],734 sizes_px: [],735 },736 {737 name: 'file_upload',738 version: -1,739 unsupported_families: [],740 categories: [],741 tags: [],742 sizes_px: [],743 },744 {745 name: 'file_present',746 version: -1,747 unsupported_families: [],748 categories: [],749 tags: [],750 sizes_px: [],751 },752 {753 name: 'file_download_done',754 version: -1,755 unsupported_families: [],756 categories: [],757 tags: [],758 sizes_px: [],759 },760 {761 name: 'file_download',762 version: -1,763 unsupported_families: [],764 categories: [],765 tags: [],766 sizes_px: [],767 },768 {769 name: 'festival',770 version: -1,771 unsupported_families: [],772 categories: [],773 tags: [],774 sizes_px: [],775 },776 {777 name: 'favorite_outline',778 version: -1,779 unsupported_families: [],780 categories: [],781 tags: [],782 sizes_px: [],783 },784 {785 name: 'face_retouching_natural',786 version: -1,787 unsupported_families: [],788 categories: [],789 tags: [],790 sizes_px: [],791 },792 { name: 'grid_view', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },793 {794 name: 'goat',795 version: -1,796 unsupported_families: [],797 categories: [],798 tags: [],799 sizes_px: [],800 },801 {802 name: 'home_filled',803 version: -1,804 unsupported_families: [],805 categories: [],806 tags: [],807 sizes_px: [],808 },809 {810 name: 'highlight_remove',811 version: -1,812 unsupported_families: [],813 categories: [],814 tags: [],815 sizes_px: [],816 },817 {818 name: 'headset_off',819 version: -1,820 unsupported_families: [],821 categories: [],822 tags: [],823 sizes_px: [],824 },825 {826 name: 'hdr_enhanced_select',827 version: -1,828 unsupported_families: [],829 categories: [],830 tags: [],831 sizes_px: [],832 },833 { name: 'hardware', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },834 {835 name: 'hail',836 version: -1,837 unsupported_families: [],838 categories: [],839 tags: [],840 sizes_px: [],841 },842 {843 name: 'ios_share',844 version: -1,845 unsupported_families: [],846 categories: ['social'],847 tags: [],848 sizes_px: [],849 },850 {851 name: 'invert_colors_on',852 version: -1,853 unsupported_families: [],854 categories: [],855 tags: [],856 sizes_px: [],857 },858 {859 name: 'inventory',860 version: -1,861 unsupported_families: [],862 categories: [],863 tags: [],864 sizes_px: [],865 },866 {867 name: 'info_outline',868 version: -1,869 unsupported_families: [],870 categories: [],871 tags: [],872 sizes_px: [],873 },874 {875 name: 'imagesearch_roller',876 version: -1,877 unsupported_families: [],878 categories: [],879 tags: [],880 sizes_px: [],881 },882 {883 name: 'icecream',884 version: -1,885 unsupported_families: [],886 categories: [],887 tags: [],888 sizes_px: [],889 },890 {891 name: 'keyboard_control',892 version: -1,893 unsupported_families: [],894 categories: [],895 tags: [],896 sizes_px: [],897 },898 { name: 'lunch_dining', version: -1, unsupported_families: [], categories: ['places'], tags: [], sizes_px: [] },899 {900 name: 'logout',901 version: -1,902 unsupported_families: [],903 categories: ['action'],904 tags: [],905 sizes_px: [],906 },907 {908 name: 'lock_outline',909 version: -1,910 unsupported_families: [],911 categories: [],912 tags: [],913 sizes_px: [],914 },915 {916 name: 'lock_clock',917 version: -1,918 unsupported_families: [],919 categories: [],920 tags: [],921 sizes_px: [],922 },923 {924 name: 'location_pin',925 version: -1,926 unsupported_families: [],927 categories: [],928 tags: [],929 sizes_px: [],930 },931 {932 name: 'location_history',933 version: -1,934 unsupported_families: [],935 categories: [],936 tags: [],937 sizes_px: [],938 },939 {940 name: 'local_restaurant',941 version: -1,942 unsupported_families: [],943 categories: [],944 tags: [],945 sizes_px: [],946 },947 {948 name: 'local_print_shop',949 version: -1,950 unsupported_families: [],951 categories: [],952 tags: [],953 sizes_px: [],954 },955 {956 name: 'local_attraction',957 version: -1,958 unsupported_families: [],959 categories: [],960 tags: [],961 sizes_px: [],962 },963 {964 name: 'liquor',965 version: -1,966 unsupported_families: [],967 categories: [],968 tags: [],969 sizes_px: [],970 },971 {972 name: 'lightbulb_outline',973 version: -1,974 unsupported_families: [],975 categories: [],976 tags: [],977 sizes_px: [],978 },979 {980 name: 'lightbulb',981 version: -1,982 unsupported_families: [],983 categories: [],984 tags: [],985 sizes_px: [],986 },987 {988 name: 'label_outline',989 version: -1,990 unsupported_families: [],991 categories: [],992 tags: [],993 sizes_px: [],994 },995 {996 name: 'label_important_outline',997 version: -1,998 unsupported_families: [],999 categories: [],1000 tags: [],1001 sizes_px: [],1002 },1003 {1004 name: 'my_library_music',1005 version: -1,1006 unsupported_families: [],1007 categories: [],1008 tags: [],1009 sizes_px: [],1010 },1011 {1012 name: 'my_library_books',1013 version: -1,1014 unsupported_families: [],1015 categories: [],1016 tags: [],1017 sizes_px: [],1018 },1019 {1020 name: 'my_library_add',1021 version: -1,1022 unsupported_families: [],1023 categories: [],1024 tags: [],1025 sizes_px: [],1026 },1027 { name: 'multitrack_audio', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },1028 {1029 name: 'mp',1030 version: -1,1031 unsupported_families: [],1032 categories: [],1033 tags: [],1034 sizes_px: [],1035 },1036 {1037 name: 'motorcycle',1038 version: -1,1039 unsupported_families: [],1040 categories: [],1041 tags: [],1042 sizes_px: [],1043 },1044 {1045 name: 'motion_photos_off',1046 version: -1,1047 unsupported_families: [],1048 categories: [],1049 tags: [],1050 sizes_px: [],1051 },1052 { name: 'monitor', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },1053 {1054 name: 'mode_edit',1055 version: -1,1056 unsupported_families: [],1057 categories: [],1058 tags: [],1059 sizes_px: [],1060 },1061 {1062 name: 'mic_external_on',1063 version: -1,1064 unsupported_families: [],1065 categories: [],1066 tags: [],1067 sizes_px: [],1068 },1069 {1070 name: 'mic_external_off',1071 version: -1,1072 unsupported_families: [],1073 categories: [],1074 tags: [],1075 sizes_px: [],1076 },1077 {1078 name: 'messenger_outline',1079 version: -1,1080 unsupported_families: [],1081 categories: [],1082 tags: [],1083 sizes_px: [],1084 },1085 {1086 name: 'messenger',1087 version: -1,1088 unsupported_families: [],1089 categories: [],1090 tags: [],1091 sizes_px: [],1092 },1093 {1094 name: 'mark_as_unread',1095 version: -1,1096 unsupported_families: [],1097 categories: [],1098 tags: [],1099 sizes_px: [],1100 },1101 { name: 'margin', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },1102 {1103 name: 'now_widgets',1104 version: -1,1105 unsupported_families: [],1106 categories: [],1107 tags: [],1108 sizes_px: [],1109 },1110 {1111 name: 'now_wallpaper',1112 version: -1,1113 unsupported_families: [],1114 categories: [],1115 tags: [],1116 sizes_px: [],1117 },1118 {1119 name: 'notifications_on',1120 version: -1,1121 unsupported_families: [],1122 categories: [],1123 tags: [],1124 sizes_px: [],1125 },1126 {1127 name: 'no_meals_ouline',1128 version: -1,1129 unsupported_families: [],1130 categories: [],1131 tags: [],1132 sizes_px: [],1133 },1134 {1135 name: 'nightlight_round',1136 version: -1,1137 unsupported_families: [],1138 categories: [],1139 tags: [],1140 sizes_px: [],1141 },1142 {1143 name: 'nightlife',1144 version: -1,1145 unsupported_families: [],1146 categories: ['places'],1147 tags: [],1148 sizes_px: [],1149 },1150 {1151 name: 'network_wifi',1152 version: -1,1153 unsupported_families: [],1154 categories: [],1155 tags: [],1156 sizes_px: [],1157 },1158 {1159 name: 'network_cell',1160 version: -1,1161 unsupported_families: [],1162 categories: [],1163 tags: [],1164 sizes_px: [],1165 },1166 { name: 'outgoing_mail', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },1167 {1168 name: 'outbox',1169 version: -1,1170 unsupported_families: [],1171 categories: [],1172 tags: [],1173 sizes_px: [],1174 },1175 {1176 name: 'offline_share',1177 version: -1,1178 unsupported_families: [],1179 categories: ['social'],1180 tags: [],1181 sizes_px: [],1182 },1183 {1184 name: 'play_disabled',1185 version: -1,1186 unsupported_families: [],1187 categories: [],1188 tags: [],1189 sizes_px: [],1190 },1191 {1192 name: 'play_circle_fill',1193 version: -1,1194 unsupported_families: [],1195 categories: [],1196 tags: [],1197 sizes_px: [],1198 },1199 {1200 name: 'pivot_table_chart',1201 version: -1,1202 unsupported_families: [],1203 categories: [],1204 tags: [],1205 sizes_px: [],1206 },1207 {1208 name: 'pie_chart_outlined',1209 version: -1,1210 unsupported_families: [],1211 categories: [],1212 tags: [],1213 sizes_px: [],1214 },1215 {1216 name: 'photo_camera_front',1217 version: -1,1218 unsupported_families: [],1219 categories: [],1220 tags: [],1221 sizes_px: [],1222 },1223 {1224 name: 'photo_camera_back',1225 version: -1,1226 unsupported_families: [],1227 categories: [],1228 tags: [],1229 sizes_px: [],1230 },1231 {1232 name: 'person_add_alt',1233 version: -1,1234 unsupported_families: [],1235 categories: [],1236 tags: [],1237 sizes_px: [],1238 },1239 {1240 name: 'perm_device_info',1241 version: -1,1242 unsupported_families: [],1243 categories: [],1244 tags: [],1245 sizes_px: [],1246 },1247 {1248 name: 'perm_contact_cal',1249 version: -1,1250 unsupported_families: [],1251 categories: [],1252 tags: [],1253 sizes_px: [],1254 },1255 {1256 name: 'park',1257 version: -1,1258 unsupported_families: [],1259 categories: [],1260 tags: [],1261 sizes_px: [],1262 },1263 {1264 name: 'panorama_wide_angle_select',1265 version: -1,1266 unsupported_families: [],1267 categories: [],1268 tags: [],1269 sizes_px: [],1270 },1271 {1272 name: 'panorama_vertical_select',1273 version: -1,1274 unsupported_families: [],1275 categories: [],1276 tags: [],1277 sizes_px: [],1278 },1279 {1280 name: 'panorama_photosphere_select',1281 version: -1,1282 unsupported_families: [],1283 categories: [],1284 tags: [],1285 sizes_px: [],1286 },1287 {1288 name: 'panorama_photosphere',1289 version: -1,1290 unsupported_families: [],1291 categories: [],1292 tags: [],1293 sizes_px: [],1294 },1295 {1296 name: 'panorama_horizontal_select',1297 version: -1,1298 unsupported_families: [],1299 categories: [],1300 tags: [],1301 sizes_px: [],1302 },1303 {1304 name: 'panorama_fisheye',1305 version: -1,1306 unsupported_families: [],1307 categories: [],1308 tags: [],1309 sizes_px: [],1310 },1311 {1312 name: 'padding',1313 version: -1,1314 unsupported_families: [],1315 categories: [],1316 tags: [],1317 sizes_px: [],1318 },1319 {1320 name: 'quick_contacts_mail',1321 version: -1,1322 unsupported_families: [],1323 categories: [],1324 tags: [],1325 sizes_px: [],1326 },1327 {1328 name: 'quick_contacts_dialer',1329 version: -1,1330 unsupported_families: [],1331 categories: [],1332 tags: [],1333 sizes_px: [],1334 },1335 { name: 'rtt', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },1336 {1337 name: 'reset_tv',1338 version: -1,1339 unsupported_families: [],1340 categories: [],1341 tags: [],1342 sizes_px: [],1343 },1344 {1345 name: 'replay_circle_filled',1346 version: -1,1347 unsupported_families: [],1348 categories: [],1349 tags: [],1350 sizes_px: [],1351 },1352 {1353 name: 'repeat_one_on',1354 version: -1,1355 unsupported_families: [],1356 categories: [],1357 tags: [],1358 sizes_px: [],1359 },1360 {1361 name: 'repeat_on',1362 version: -1,1363 unsupported_families: [],1364 categories: [],1365 tags: [],1366 sizes_px: [],1367 },1368 {1369 name: 'remove_moderator',1370 version: -1,1371 unsupported_families: [],1372 categories: [],1373 tags: [],1374 sizes_px: [],1375 },1376 {1377 name: 'remove_done',1378 version: -1,1379 unsupported_families: [],1380 categories: [],1381 tags: [],1382 sizes_px: [],1383 },1384 {1385 name: 'recommend',1386 version: -1,1387 unsupported_families: [],1388 categories: ['action'],1389 tags: [],1390 sizes_px: [],1391 },1392 {1393 name: 'ramen_dining',1394 version: -1,1395 unsupported_families: [],1396 categories: [],1397 tags: [],1398 sizes_px: [],1399 },1400 {1401 name: 'railway_alert',1402 version: -1,1403 unsupported_families: [],1404 categories: [],1405 tags: [],1406 sizes_px: [],1407 },1408 {1409 name: 'radio_button_on',1410 version: -1,1411 unsupported_families: [],1412 categories: [],1413 tags: [],1414 sizes_px: [],1415 aliasOf: 'radio_button_checked',1416 },1417 {1418 name: 'radio_button_off',1419 version: -1,1420 unsupported_families: [],1421 categories: [],1422 tags: [],1423 sizes_px: [],1424 aliasOf: 'radio_button_checked',1425 },1426 {1427 name: 'system_update_tv',1428 version: -1,1429 unsupported_families: [],1430 categories: [],1431 tags: [],1432 sizes_px: [],1433 },1434 {1435 name: 'switch_account',1436 version: -1,1437 unsupported_families: [],1438 categories: ['action'],1439 tags: [],1440 sizes_px: [],1441 },1442 {1443 name: 'swipe',1444 version: -1,1445 unsupported_families: [],1446 categories: [],1447 tags: [],1448 sizes_px: [],1449 },1450 {1451 name: 'swap_vert_circle',1452 version: -1,1453 unsupported_families: [],1454 categories: [],1455 tags: [],1456 sizes_px: [],1457 },1458 {1459 name: 'stream',1460 version: -1,1461 unsupported_families: [],1462 categories: [],1463 tags: [],1464 sizes_px: [],1465 },1466 {1467 name: 'stacked_bar_chart',1468 version: -1,1469 unsupported_families: [],1470 categories: [],1471 tags: [],1472 sizes_px: [],1473 },1474 {1475 name: 'sim_card_alert',1476 version: -1,1477 unsupported_families: [],1478 categories: [],1479 tags: [],1480 sizes_px: [],1481 },1482 {1483 name: 'signal_wifi_0_bar',1484 version: -1,1485 unsupported_families: [],1486 categories: [],1487 tags: [],1488 sizes_px: [],1489 },1490 {1491 name: 'signal_cellular_0_bar',1492 version: -1,1493 unsupported_families: [],1494 categories: [],1495 tags: [],1496 sizes_px: [],1497 },1498 { name: 'shuffle_on', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },1499 {1500 name: 'shield',1501 version: -1,1502 unsupported_families: [],1503 categories: [],1504 tags: [],1505 sizes_px: [],1506 },1507 {1508 name: 'settings_display',1509 version: -1,1510 unsupported_families: [],1511 categories: [],1512 tags: [],1513 sizes_px: [],1514 },1515 {1516 name: 'sentiment_neutral',1517 version: -1,1518 unsupported_families: [],1519 categories: [],1520 tags: [],1521 sizes_px: [],1522 },1523 {1524 name: 'send_to_mobile',1525 version: -1,1526 unsupported_families: [],1527 categories: [],1528 tags: [],1529 sizes_px: [],1530 },1531 {1532 name: 'send_and_archive',1533 version: -1,1534 unsupported_families: [],1535 categories: ['action'],1536 tags: [],1537 sizes_px: [],1538 },1539 { name: 'segment', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },1540 {1541 name: 'sd',1542 version: -1,1543 unsupported_families: [],1544 categories: [],1545 tags: [],1546 sizes_px: [],1547 },1548 {1549 name: 'screen_search_desktop',1550 version: -1,1551 unsupported_families: [],1552 categories: [],1553 tags: [],1554 sizes_px: [],1555 },1556 {1557 name: 'schedule_send',1558 version: -1,1559 unsupported_families: [],1560 categories: ['action'],1561 tags: [],1562 sizes_px: [],1563 },1564 {1565 name: 'saved_search',1566 version: -1,1567 unsupported_families: [],1568 categories: [],1569 tags: [],1570 sizes_px: [],1571 },1572 {1573 name: 'trending_neutral',1574 version: -1,1575 unsupported_families: [],1576 categories: [],1577 tags: [],1578 sizes_px: [],1579 },1580 {1581 name: 'thumb_up_off_alt',1582 version: -1,1583 unsupported_families: [],1584 categories: [],1585 tags: [],1586 sizes_px: [],1587 },1588 {1589 name: 'thumb_down_off_alt',1590 version: -1,1591 unsupported_families: [],1592 categories: [],1593 tags: [],1594 sizes_px: [],1595 },1596 {1597 name: 'theater_comedy',1598 version: -1,1599 unsupported_families: [],1600 categories: [],1601 tags: [],1602 sizes_px: [],1603 },1604 {1605 name: 'taxi_alert',1606 version: -1,1607 unsupported_families: [],1608 categories: [],1609 tags: [],1610 sizes_px: [],1611 },1612 { name: 'takeout_dining', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },1613 {1614 name: 'tag',1615 version: -1,1616 unsupported_families: [],1617 categories: [],1618 tags: [],1619 sizes_px: [],1620 },1621 {1622 name: 'upload_file',1623 version: -1,1624 unsupported_families: [],1625 categories: [],1626 tags: [],1627 sizes_px: [],1628 },1629 {1630 name: 'volunteer_activism',1631 version: -1,1632 unsupported_families: [],1633 categories: [],1634 tags: [],1635 sizes_px: [],1636 },1637 {1638 name: 'view_in_ar',1639 version: -1,1640 unsupported_families: [],1641 categories: [],1642 tags: [],1643 sizes_px: [],1644 },1645 {1646 name: 'view_comfortable',1647 version: -1,1648 unsupported_families: [],1649 categories: [],1650 tags: [],1651 sizes_px: [],1652 },1653 {1654 name: 'video_collection',1655 version: -1,1656 unsupported_families: [],1657 categories: [],1658 tags: [],1659 sizes_px: [],1660 },1661 {1662 name: 'workspaces_outline',1663 version: -1,1664 unsupported_families: [],1665 categories: [],1666 tags: [],1667 sizes_px: [],1668 },1669 {1670 name: 'workspaces_filled',1671 version: -1,1672 unsupported_families: [],1673 categories: [],1674 tags: [],1675 sizes_px: [],1676 },1677 {1678 name: 'wb_twighlight',1679 version: -1,1680 unsupported_families: [],1681 categories: [],1682 tags: [],1683 sizes_px: [],1684 },1685 {1686 name: 'wb_shade',1687 version: -1,1688 unsupported_families: [],1689 categories: [],1690 tags: [],1691 sizes_px: [],1692 },1693 {1694 name: 'waterfall_chart',1695 version: -1,1696 unsupported_families: [],1697 categories: [],1698 tags: [],1699 sizes_px: [],1700 },1701 {1702 name: 'wallet_travel',1703 version: -1,1704 unsupported_families: [],1705 categories: [],1706 tags: [],1707 sizes_px: [],1708 },1709 {1710 name: 'wallet_membership',1711 version: -1,1712 unsupported_families: [],1713 categories: [],1714 tags: [],1715 sizes_px: [],1716 },1717 { name: 'wallet_giftcard', version: -1, unsupported_families: [], categories: [], tags: [], sizes_px: [] },...

Full Screen

Full Screen

chromeDebuggerRemote.js

Source:chromeDebuggerRemote.js Github

copy

Full Screen

1/* Machine generated from inspector/Inspector.json version: 0.1 on Mon Jan 23 2012 14:06:29 GMT-0800 (PST) */2(function (definition) {3 // This file will function properly as a <script> tag, or a module4 // using CommonJS and NodeJS or RequireJS module formats. In5 // Common/Node/RequireJS, the module exports the chromeDebuggerRemote API and when6 // executed as a simple <script>, it chromeDebuggerRemote a Q global instead.7 // RequireJS8 if (typeof define === 'function') {9 define([], definition);10 // CommonJS11 } else if (typeof exports === 'object') {12 definition(exports);13 // <script>, create global14 } else {15 definition(chromeDebuggerRemote = {});16 }17}(function (ignoredRequire, exports) {18var chromeDebuggerRemote = exports;19chromeDebuggerRemote.version = 0.1;20/* unsupported */ 21chromeDebuggerRemote.Inspector = {22 commands: {23 enable: function(){},24 disable: function(){},25 },26 events: {27 evaluateForTestInFrontend: function(testCallId, script) {},28 inspect: function(object, hints) {},29 didCreateWorker: function(id, url, isShared) {},30 didDestroyWorker: function(id) {},31 }32};33/* unsupported */ 34chromeDebuggerRemote.Memory = {35 commands: {36 getDOMNodeCount: /*count */ function(){},37 },38};39chromeDebuggerRemote.Page = {40 commands: {41 enable: function(){},42 disable: function(){},43 /* unsupported */ addScriptToEvaluateOnLoad: /*identifier */ function(scriptSource){},44 /* unsupported */ removeScriptToEvaluateOnLoad: function(identifier){},45 reload: function(ignoreCache, scriptToEvaluateOnLoad){},46 /* unsupported */ open: function(url, newWindow){},47 /* unsupported */ getCookies: /*cookies,cookiesString */ function(){},48 /* unsupported */ deleteCookie: function(cookieName, domain){},49 /* unsupported */ getResourceTree: /*frameTree */ function(){},50 /* unsupported */ getResourceContent: /*content,base64Encoded */ function(frameId, url){},51 /* unsupported */ searchInResource: /*result */ function(frameId, url, query, caseSensitive, isRegex){},52 /* unsupported */ searchInResources: /*result */ function(text, caseSensitive, isRegex){},53 },54 events: {55 domContentEventFired: function(timestamp) {},56 loadEventFired: function(timestamp) {},57 /* unsupported */ frameNavigated: function(frame) {},58 /* unsupported */ frameDetached: function(frameId) {},59 }60};61chromeDebuggerRemote.Runtime = {62 commands: {63 evaluate: /*result,wasThrown */ function(expression, objectGroup, includeCommandLineAPI, doNotPauseOnExceptions, frameId, returnByValue){},64 callFunctionOn: /*result,wasThrown */ function(objectId, functionDeclaration, arguments, returnByValue){},65 getProperties: /*result */ function(objectId, ownProperties){},66 releaseObject: function(objectId){},67 releaseObjectGroup: function(objectGroup){},68 /* unsupported */ run: function(){},69 },70};71chromeDebuggerRemote.Console = {72 commands: {73 enable: function(){},74 disable: function(){},75 clearMessages: function(){},76 /* unsupported */ setMonitoringXHREnabled: function(enabled){},77 /* unsupported */ addInspectedNode: function(nodeId){},78 },79 events: {80 messageAdded: function(message) {},81 messageRepeatCountUpdated: function(count) {},82 messagesCleared: function() {},83 }84};85chromeDebuggerRemote.Network = {86 commands: {87 enable: function(){},88 disable: function(){},89 setUserAgentOverride: function(userAgent){},90 setExtraHTTPHeaders: function(headers){},91 getResponseBody: /*body,base64Encoded */ function(requestId){},92 canClearBrowserCache: /*result */ function(){},93 clearBrowserCache: function(){},94 canClearBrowserCookies: /*result */ function(){},95 clearBrowserCookies: function(){},96 setCacheDisabled: function(cacheDisabled){},97 },98 events: {99 requestWillBeSent: function(requestId, frameId, loaderId, documentURL, request, timestamp, initiator, stackTrace, redirectResponse) {},100 requestServedFromCache: function(requestId) {},101 responseReceived: function(requestId, frameId, loaderId, timestamp, type, response) {},102 dataReceived: function(requestId, timestamp, dataLength, encodedDataLength) {},103 loadingFinished: function(requestId, timestamp) {},104 loadingFailed: function(requestId, timestamp, errorText, canceled) {},105 requestServedFromMemoryCache: function(requestId, frameId, loaderId, documentURL, timestamp, initiator, resource) {},106 /* unsupported */ webSocketWillSendHandshakeRequest: function(requestId, timestamp, request) {},107 /* unsupported */ webSocketHandshakeResponseReceived: function(requestId, timestamp, response) {},108 /* unsupported */ webSocketCreated: function(requestId, url) {},109 /* unsupported */ webSocketClosed: function(requestId, timestamp) {},110 }111};112/* unsupported */ 113chromeDebuggerRemote.Database = {114 commands: {115 enable: function(){},116 disable: function(){},117 getDatabaseTableNames: /*tableNames */ function(databaseId){},118 executeSQL: /*success,transactionId */ function(databaseId, query){},119 },120 events: {121 addDatabase: function(database) {},122 sqlTransactionSucceeded: function(transactionId, columnNames, values) {},123 sqlTransactionFailed: function(transactionId, sqlError) {},124 }125};126/* unsupported */ 127chromeDebuggerRemote.DOMStorage = {128 commands: {129 enable: function(){},130 disable: function(){},131 getDOMStorageEntries: /*entries */ function(storageId){},132 setDOMStorageItem: /*success */ function(storageId, key, value){},133 removeDOMStorageItem: /*success */ function(storageId, key){},134 },135 events: {136 addDOMStorage: function(storage) {},137 updateDOMStorage: function(storageId) {},138 }139};140/* unsupported */ 141chromeDebuggerRemote.ApplicationCache = {142 commands: {143 getFramesWithManifests: /*frameIds */ function(){},144 enable: function(){},145 getManifestForFrame: /*manifestURL */ function(frameId){},146 getApplicationCacheForFrame: /*applicationCache */ function(frameId){},147 },148 events: {149 applicationCacheStatusUpdated: function(frameId, manifestURL, status) {},150 networkStateUpdated: function(isNowOnline) {},151 }152};153/* unsupported */ 154chromeDebuggerRemote.FileSystem = {155 commands: {156 enable: function(){},157 disable: function(){},158 },159};160chromeDebuggerRemote.DOM = {161 commands: {162 getDocument: /*root */ function(){},163 requestChildNodes: function(nodeId){},164 querySelector: /*nodeId */ function(nodeId, selector){},165 querySelectorAll: /*nodeIds */ function(nodeId, selector){},166 setNodeName: /*nodeId */ function(nodeId, name){},167 setNodeValue: function(nodeId, value){},168 removeNode: function(nodeId){},169 setAttributeValue: function(nodeId, name, value){},170 setAttributesAsText: function(nodeId, text, name){},171 removeAttribute: function(nodeId, name){},172 /* unsupported */ getEventListenersForNode: /*listeners */ function(nodeId){},173 /* unsupported */ copyNode: function(nodeId){},174 getOuterHTML: /*outerHTML */ function(nodeId){},175 setOuterHTML: /*nodeId */ function(nodeId, outerHTML){},176 /* unsupported */ performSearch: /*searchId,resultCount */ function(query){},177 /* unsupported */ getSearchResults: /*nodeIds */ function(searchId, fromIndex, toIndex){},178 /* unsupported */ discardSearchResults: function(searchId){},179 requestNode: /*nodeId */ function(objectId){},180 /* unsupported */ setInspectModeEnabled: function(enabled, highlightConfig){},181 highlightRect: function(x, y, width, height, color, outlineColor){},182 highlightNode: function(nodeId, highlightConfig){},183 hideHighlight: function(){},184 /* unsupported */ highlightFrame: function(frameId, contentColor, contentOutlineColor){},185 /* unsupported */ pushNodeByPathToFrontend: /*nodeId */ function(path){},186 resolveNode: /*object */ function(nodeId, objectGroup){},187 getAttributes: /*attributes */ function(nodeId){},188 moveTo: /*nodeId */ function(nodeId, targetNodeId, insertBeforeNodeId){},189 },190 events: {191 documentUpdated: function() {},192 setChildNodes: function(parentId, nodes) {},193 attributeModified: function(nodeId, name, value) {},194 attributeRemoved: function(nodeId, name) {},195 /* unsupported */ inlineStyleInvalidated: function(nodeIds) {},196 characterDataModified: function(nodeId, characterData) {},197 childNodeCountUpdated: function(nodeId, childNodeCount) {},198 childNodeInserted: function(parentNodeId, previousNodeId, node) {},199 childNodeRemoved: function(parentNodeId, nodeId) {},200 }201};202/* unsupported */ 203chromeDebuggerRemote.CSS = {204 commands: {205 enable: function(){},206 disable: function(){},207 getMatchedStylesForNode: /*matchedCSSRules,pseudoElements,inherited */ function(nodeId, forcedPseudoClasses, includePseudo, includeInherited){},208 getInlineStylesForNode: /*inlineStyle,styleAttributes */ function(nodeId){},209 getComputedStyleForNode: /*computedStyle */ function(nodeId, forcedPseudoClasses){},210 getAllStyleSheets: /*headers */ function(){},211 getStyleSheet: /*styleSheet */ function(styleSheetId){},212 getStyleSheetText: /*text */ function(styleSheetId){},213 setStyleSheetText: function(styleSheetId, text){},214 setPropertyText: /*style */ function(styleId, propertyIndex, text, overwrite){},215 toggleProperty: /*style */ function(styleId, propertyIndex, disable){},216 setRuleSelector: /*rule */ function(ruleId, selector){},217 addRule: /*rule */ function(contextNodeId, selector){},218 getSupportedCSSProperties: /*cssProperties */ function(){},219 startSelectorProfiler: function(){},220 stopSelectorProfiler: /*profile */ function(){},221 },222 events: {223 mediaQueryResultChanged: function() {},224 }225};226chromeDebuggerRemote.Timeline = {227 commands: {228 start: function(maxCallStackDepth){},229 stop: function(){},230 },231 events: {232 eventRecorded: function(record) {},233 }234};235chromeDebuggerRemote.Debugger = {236 commands: {237 /* unsupported */ causesRecompilation: /*result */ function(){},238 /* unsupported */ supportsNativeBreakpoints: /*result */ function(){},239 enable: function(){},240 disable: function(){},241 setBreakpointsActive: function(active){},242 setBreakpointByUrl: /*breakpointId,locations */ function(lineNumber, url, urlRegex, columnNumber, condition){},243 setBreakpoint: /*breakpointId,actualLocation */ function(location, condition){},244 removeBreakpoint: function(breakpointId){},245 continueToLocation: function(location){},246 stepOver: function(){},247 stepInto: function(){},248 stepOut: function(){},249 pause: function(){},250 resume: function(){},251 searchInContent: /*result */ function(scriptId, query, caseSensitive, isRegex){},252 canSetScriptSource: /*result */ function(){},253 setScriptSource: /*callFrames,result */ function(scriptId, scriptSource, preview){},254 getScriptSource: /*scriptSource */ function(scriptId){},255 getFunctionLocation: /*location */ function(functionId){},256 setPauseOnExceptions: function(state){},257 evaluateOnCallFrame: /*result,wasThrown */ function(callFrameId, expression, objectGroup, includeCommandLineAPI, returnByValue){},258 },259 events: {260 globalObjectCleared: function() {},261 scriptParsed: function(scriptId, url, startLine, startColumn, endLine, endColumn, isContentScript, sourceMapURL) {},262 scriptFailedToParse: function(url, scriptSource, startLine, errorLine, errorMessage) {},263 breakpointResolved: function(breakpointId, location) {},264 paused: function(callFrames, reason, data) {},265 resumed: function() {},266 }267};268chromeDebuggerRemote.DOMDebugger = {269 commands: {270 setDOMBreakpoint: function(nodeId, type){},271 removeDOMBreakpoint: function(nodeId, type){},272 setEventListenerBreakpoint: function(eventName){},273 removeEventListenerBreakpoint: function(eventName){},274 setXHRBreakpoint: function(url){},275 removeXHRBreakpoint: function(url){},276 },277};278/* unsupported */ 279chromeDebuggerRemote.Profiler = {280 commands: {281 causesRecompilation: /*result */ function(){},282 isSampling: /*result */ function(){},283 hasHeapProfiler: /*result */ function(){},284 enable: function(){},285 disable: function(){},286 start: function(){},287 stop: function(){},288 getProfileHeaders: /*headers */ function(){},289 getProfile: /*profile */ function(type, uid){},290 removeProfile: function(type, uid){},291 clearProfiles: function(){},292 takeHeapSnapshot: function(){},293 collectGarbage: function(){},294 getObjectByHeapObjectId: /*result */ function(objectId){},295 },296 events: {297 addProfileHeader: function(header) {},298 addHeapSnapshotChunk: function(uid, chunk) {},299 finishHeapSnapshot: function(uid) {},300 setRecordingProfile: function(isProfiling) {},301 resetProfiles: function() {},302 reportHeapSnapshotProgress: function(done, total) {},303 }304};305/* unsupported */ 306chromeDebuggerRemote.Worker = {307 commands: {308 setWorkerInspectionEnabled: function(value){},309 sendMessageToWorker: function(workerId, message){},310 connectToWorker: function(workerId){},311 disconnectFromWorker: function(workerId){},312 setAutoconnectToWorkers: function(value){},313 },314 events: {315 workerCreated: function(workerId, url, inspectorConnected) {},316 workerTerminated: function(workerId) {},317 dispatchMessageFromWorker: function(workerId, message) {},318 disconnectedFromWorker: function() {},319 }320};321return chromeDebuggerRemote;322/* copyright 2011 Google, inc. johnjbarton@google.com Google BSD License */323/* See https://github.com/johnjbarton/atopwi/blob/master/tailFeathers.html */...

Full Screen

Full Screen

ReactSuspenseTestUtils.js

Source:ReactSuspenseTestUtils.js Github

copy

Full Screen

...9import type {Dispatcher} from 'react-reconciler/src/ReactInternalTypes';10import ReactSharedInternals from 'shared/ReactSharedInternals';11import invariant from 'shared/invariant';12const ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;13function unsupported() {14 invariant(false, 'This feature is not supported by ReactSuspenseTestUtils.');15}16export function waitForSuspense<T>(fn: () => T): Promise<T> {17 const cache: Map<Function, mixed> = new Map();18 const testDispatcher: Dispatcher = {19 getCacheForType<R>(resourceType: () => R): R {20 let entry: R | void = (cache.get(resourceType): any);21 if (entry === undefined) {22 entry = resourceType();23 // TODO: Warn if undefined?24 cache.set(resourceType, entry);25 }26 return entry;27 },...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1import { getStorybookUI, configure } from '@storybook/react-native';2import { loadStories } from './storyLoader';3configure(() => {4 loadStories();5}, module);6const StorybookUIRoot = getStorybookUI({ port: 7007, host: 'localhost' });7export default StorybookUIRoot;8import { AppRegistry } from 'react-native';9import { getStorybookUI, configure } from '@storybook/react-native';10import { loadStories } from './storyLoader';11import { name as appName } from '../app.json';12import './rn-addons';13configure(() => {14 require('./stories');15}, module);16const StorybookUIRoot = getStorybookUI({ port: 7007, host: 'localhost' });17AppRegistry.registerComponent(appName, () => StorybookUIRoot);18import { setOptions } from '@storybook/addon-options';19import { getStorybookUI, configure } from '@storybook/react-native';20setOptions({

Full Screen

Using AI Code Generation

copy

Full Screen

1import { addDecorator } from "@storybook/react";2import { withKnobs } from "@storybook/addon-knobs";3addDecorator(withKnobs);4export const parameters = {5 actions: { argTypesRegex: "^on[A-Z].*" },6};7import { addDecorator } from "@storybook/react";8import { withKnobs } from "@storybook/addon-knobs";9addDecorator(withKnobs);10export const parameters = {11 actions: { argTypesRegex: "^on[A-Z].*" },12};13module.exports = {14};15import { addons } from "@storybook/addons";16import { themes } from "@storybook/theming";17addons.setConfig({18});19module.exports = {20 module: {21 {22 use: [{ loader: "style-loader" }, { loader: "css-loader" }],23 },24 },25};26export default {27};28h1 {29 color: red;30}31import HelloWorld from "./HelloWorld.vue";32export default {33};34const Template = (args, { argTypes }) => ({35 props: Object.keys(argTypes),36 components: { HelloWorld },37});38export const Primary = Template.bind({});39Primary.args = {40};

Full Screen

Using AI Code Generation

copy

Full Screen

1import { configure } from '@storybook/react';2const req = require.context('../stories', true, /.stories.js$/);3function loadStories() {4 req.keys().forEach(filename => req(filename));5}6configure(loadStories, module);7import React from 'react';8import { storiesOf } from '@storybook/react';9import { action } from '@storybook/addon-actions';10import { linkTo } from '@storybook/addon-links';11import { Button, Welcome } from '@storybook/react/demo';12storiesOf('Welcome', module).add('to Storybook', () => <Welcome showApp={linkTo('Button')} />);13storiesOf('Button', module)14 .add('with text', () => <Button onClick={action('clicked')}>Hello Button</Button>)15 .add('with some emoji', () => (16 <Button onClick={action('clicked')}>17 ));18import React from 'react';19import { storiesOf } from '@storybook/react';20import { action } from '@storybook/addon-actions';21import { linkTo } from '@storybook/addon-links';22import { Button, Welcome } from '@storybook/react/demo';23storiesOf('Welcome', module).add('to Storybook', () => <Welcome showApp={linkTo('Button')} />);24storiesOf('Button', module)25 .add('with text', () => <Button onClick={action('clicked')}>Hello Button</Button>)26 .add('with some emoji', () => (27 <Button onClick={action('clicked')}>28 ));29import React from 'react';30import { storiesOf } from '@storybook/react';31import { action } from '@storybook/addon-actions';32import { linkTo } from '@storybook/addon-links';33import { Button, Welcome } from '@storybook/react/demo';34storiesOf('Welcome', module).add('to Storybook', () => <Welcome showApp={linkTo('

Full Screen

Using AI Code Generation

copy

Full Screen

1import { getStorybookUI, configure } from 'storybook-root';2import { addDecorator } from '@storybook/react-native';3import { withKnobs } from '@storybook/addon-knobs';4import { withA11y } from '@storybook/addon-a11y';5import { withInfo } from '@storybook/addon-info';6import { withBackgrounds } from '@storybook/addon-ondevice-backgrounds';7import { loadStories } from './storyLoader';8addDecorator(withKnobs);9addDecorator(withA11y);10addDecorator(withInfo);11addDecorator(withBackgrounds);12configure(() => {13 loadStories();14}, module);15const StorybookUIRoot = getStorybookUI({ port: 7007, host: 'localhost', onDeviceUI: true });16export default StorybookUIRoot;17import React from 'react';18import { View, Text, StatusBar } from 'react-native';19import StorybookUIRoot from './storybook';20const App = () => {21 return (22 );23};24export default App;

Full Screen

Using AI Code Generation

copy

Full Screen

1import { withKnobs } from '@storybook/addon-knobs';2export const decorators = [withKnobs];3export const parameters = {4 actions: { argTypesRegex: '^on[A-Z].*' },5};6import { addDecorator } from '@storybook/react';7import { withKnobs } from '@storybook/addon-knobs';8addDecorator(withKnobs);9import { addDecorator } from '@storybook/react';10import { withKnobs } from '@storybook/addon-knobs';11addDecorator(withKnobs);12import { addDecorator } from '@storybook/react';13import { withKnobs } from '@storybook/addon-knobs';14addDecorator(withKnobs);15import { addDecorator } from '@storybook/react';16import { withKnobs } from '@storybook/addon-knobs';17addDecorator(withKnobs);18import { addDecorator } from '@storybook/react';19import { withKnobs } from '@storybook/addon-knobs';20addDecorator(withKnobs);21import { addDecorator } from '@storybook/react';22import { withKnobs } from '@storybook/addon-knobs';23addDecorator(withKnobs);24import { addDecorator } from '@storybook/react';25import { withKnobs } from '@storybook/addon-knobs';26addDecorator(withKnobs);27import { addDecorator } from '@storybook

Full Screen

Using AI Code Generation

copy

Full Screen

1import { create } from 'storybook-root';2import { render } from 'react-dom';3import { create } from 'storybook-root';4import { render } from 'react-dom';5create({6});7create(options: StorybookRootOptions): StorybookRoot;8render: (element: React.ReactNode, container: HTMLElement) => void;9rootElement?: string | HTMLElement;10defaultViewports?: boolean;11{12 "mobile": {13 "styles": {14 },15 },16 "tablet": {17 "styles": {18 },19 },20 "desktop": {21 "styles": {22 },23 }24}25viewports?: {26 [key: string]: {27 name: string;28 styles: {29 width: string;30 height: string;31 };32 type: "mobile" | "tablet" | "desktop";33 };34};35defaultThemes?: boolean;

Full Screen

Using AI Code Generation

copy

Full Screen

1import { create } from 'storybook-root';2const { storiesOf } = create();3export { storiesOf } from '@storybook/react';4{5 "peerDependencies": {6 }7}8{9 "peerDependencies": {10 }11}12import { package-name } from 'package-name';13export { package-name };

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run storybook-root automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful