|
848 | 848 | </div>
|
849 | 849 | </example-box>
|
850 | 850 |
|
851 |
| - <example-box card-title="Controls"> |
| 851 | + <example-box card-title="Multiple Options"> |
852 | 852 | <div slot="demo">
|
853 | 853 | <div class="phone-viewport">
|
854 | 854 | <md-toolbar md-theme="white">
|
|
864 | 864 | </md-list-item>
|
865 | 865 | </md-list>
|
866 | 866 | </div>
|
| 867 | + </div> |
867 | 868 |
|
| 869 | + <div slot="code"> |
| 870 | + <code-block lang="xml"> |
| 871 | + <div class="phone-viewport"> |
| 872 | + <md-toolbar md-theme="white"> |
| 873 | + <span class="md-title">Multiple options</span> |
| 874 | + </md-toolbar> |
| 875 | + |
| 876 | + <md-list> |
| 877 | + <md-list-item>Plain Text</md-list-item> |
| 878 | + <md-list-item target="_blank" href="https://google.com">Link</md-list-item> |
| 879 | + <md-list-item @click.native="openAlert">Button</md-list-item> |
| 880 | + <md-list-item> |
| 881 | + <router-link to="/components/list">Router View</router-link> |
| 882 | + </md-list-item> |
| 883 | + </md-list> |
| 884 | + </div> |
| 885 | + </code-block> |
| 886 | + </div> |
| 887 | + </example-box> |
| 888 | + |
| 889 | + <example-box card-title="Expand List"> |
| 890 | + <div slot="demo"> |
868 | 891 | <div class="phone-viewport">
|
869 | 892 | <md-toolbar md-theme="white">
|
870 | 893 | <span class="md-title">Single Expand</span>
|
|
986 | 1009 | </div>
|
987 | 1010 |
|
988 | 1011 | <div class="phone-viewport">
|
989 |
| - <md-list> |
| 1012 | + <md-toolbar md-theme="white"> |
| 1013 | + <span class="md-title">Single Expand</span> |
| 1014 | + </md-toolbar> |
| 1015 | + |
| 1016 | + <md-list> |
990 | 1017 | <md-list-item>
|
991 |
| - <md-icon>whatshot</md-icon> |
992 |
| - <span>News</span> |
| 1018 | + <md-icon>whatshot</md-icon> |
| 1019 | + <span>News</span> |
993 | 1020 |
|
994 |
| - <md-list-expand> |
| 1021 | + <md-list-expand> |
995 | 1022 | <md-list>
|
996 |
| - <md-list-item class="md-inset">World</md-list-item> |
997 |
| - <md-list-item class="md-inset">Americas</md-list-item> |
998 |
| - <md-list-item class="md-inset">Europe</md-list-item> |
| 1023 | + <md-list-item class="md-inset">World</md-list-item> |
| 1024 | + <md-list-item class="md-inset">Americas</md-list-item> |
| 1025 | + <md-list-item class="md-inset">Europe</md-list-item> |
999 | 1026 | </md-list>
|
1000 |
| - </md-list-expand> |
| 1027 | + </md-list-expand> |
1001 | 1028 | </md-list-item>
|
1002 | 1029 |
|
1003 | 1030 | <md-list-item>
|
1004 |
| - <md-icon>videogame_asset</md-icon> |
1005 |
| - <span>Games</span> |
| 1031 | + <md-icon>videogame_asset</md-icon> |
| 1032 | + <span>Games</span> |
1006 | 1033 |
|
1007 |
| - <md-list-expand> |
| 1034 | + <md-list-expand> |
1008 | 1035 | <md-list>
|
1009 |
| - <md-list-item class="md-inset">Console</md-list-item> |
1010 |
| - <md-list-item class="md-inset">PC</md-list-item> |
1011 |
| - <md-list-item class="md-inset">Phone</md-list-item> |
| 1036 | + <md-list-item class="md-inset">Console</md-list-item> |
| 1037 | + <md-list-item class="md-inset">PC</md-list-item> |
| 1038 | + <md-list-item class="md-inset">Phone</md-list-item> |
1012 | 1039 | </md-list>
|
1013 |
| - </md-list-expand> |
| 1040 | + </md-list-expand> |
1014 | 1041 | </md-list-item>
|
1015 | 1042 |
|
1016 | 1043 | <md-list-item>
|
1017 |
| - <md-icon>video_library</md-icon> |
1018 |
| - <span>Video</span> |
| 1044 | + <md-icon>video_library</md-icon> |
| 1045 | + <span>Video</span> |
1019 | 1046 |
|
1020 |
| - <md-list-expand> |
| 1047 | + <md-list-expand> |
1021 | 1048 | <md-list>
|
1022 |
| - <md-list-item class="md-inset">Humor</md-list-item> |
1023 |
| - <md-list-item class="md-inset">Music</md-list-item> |
1024 |
| - <md-list-item class="md-inset">Movies</md-list-item> |
1025 |
| - <md-list-item class="md-inset">TV Shows</md-list-item> |
| 1049 | + <md-list-item class="md-inset">Humor</md-list-item> |
| 1050 | + <md-list-item class="md-inset">Music</md-list-item> |
| 1051 | + <md-list-item class="md-inset">Movies</md-list-item> |
| 1052 | + <md-list-item class="md-inset">TV Shows</md-list-item> |
1026 | 1053 | </md-list>
|
1027 |
| - </md-list-expand> |
| 1054 | + </md-list-expand> |
1028 | 1055 | </md-list-item>
|
1029 | 1056 |
|
1030 | 1057 | <md-list-item>
|
1031 |
| - <md-icon>shopping_basket</md-icon> |
1032 |
| - <span>Shop</span> |
| 1058 | + <md-icon>shopping_basket</md-icon> |
| 1059 | + <span>Shop</span> |
1033 | 1060 | </md-list-item>
|
1034 |
| - </md-list> |
| 1061 | + </md-list> |
| 1062 | + </div> |
| 1063 | + |
| 1064 | + <div class="phone-viewport"> |
| 1065 | + <md-toolbar md-theme="white"> |
| 1066 | + <span class="md-title">Multiple Expand</span> |
| 1067 | + </md-toolbar> |
| 1068 | + |
| 1069 | + <md-list> |
| 1070 | + <md-list-item md-expand-multiple> |
| 1071 | + <md-icon>whatshot</md-icon> |
| 1072 | + <span>News</span> |
| 1073 | + |
| 1074 | + <md-list-expand> |
| 1075 | + <md-list> |
| 1076 | + <md-list-item class="md-inset">World</md-list-item> |
| 1077 | + <md-list-item class="md-inset">Americas</md-list-item> |
| 1078 | + <md-list-item class="md-inset">Europe</md-list-item> |
| 1079 | + </md-list> |
| 1080 | + </md-list-expand> |
| 1081 | + </md-list-item> |
| 1082 | + |
| 1083 | + <md-list-item md-expand-multiple> |
| 1084 | + <md-icon>videogame_asset</md-icon> |
| 1085 | + <span>Games</span> |
| 1086 | + |
| 1087 | + <md-list-expand> |
| 1088 | + <md-list> |
| 1089 | + <md-list-item class="md-inset">Console</md-list-item> |
| 1090 | + <md-list-item class="md-inset">PC</md-list-item> |
| 1091 | + <md-list-item class="md-inset">Phone</md-list-item> |
| 1092 | + </md-list> |
| 1093 | + </md-list-expand> |
| 1094 | + </md-list-item> |
| 1095 | + |
| 1096 | + <md-list-item md-expand-multiple> |
| 1097 | + <md-icon>video_library</md-icon> |
| 1098 | + <span>Video</span> |
| 1099 | + |
| 1100 | + <md-list-expand> |
| 1101 | + <md-list> |
| 1102 | + <md-list-item class="md-inset">Humor</md-list-item> |
| 1103 | + <md-list-item class="md-inset">Music</md-list-item> |
| 1104 | + <md-list-item class="md-inset">Movies</md-list-item> |
| 1105 | + <md-list-item class="md-inset">TV Shows</md-list-item> |
| 1106 | + </md-list> |
| 1107 | + </md-list-expand> |
| 1108 | + </md-list-item> |
| 1109 | + |
| 1110 | + <md-list-item> |
| 1111 | + <md-icon>shopping_basket</md-icon> |
| 1112 | + <span>Shop</span> |
| 1113 | + </md-list-item> |
| 1114 | + </md-list> |
1035 | 1115 | </div>
|
1036 | 1116 |
|
1037 | 1117 | <div class="phone-viewport">
|
|
0 commit comments