|
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> |
| 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> |
867 | 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>
|
|
975 | 998 | <div slot="code">
|
976 | 999 | <code-block lang="xml">
|
977 | 1000 | <div class="phone-viewport">
|
978 |
| - <md-list> |
| 1001 | + <md-toolbar md-theme="white"> |
| 1002 | + <span class="md-title">Single Expand</span> |
| 1003 | + </md-toolbar> |
| 1004 | + |
| 1005 | + <md-list> |
979 | 1006 | <md-list-item>
|
980 |
| - <md-icon>whatshot</md-icon> |
981 |
| - <span>News</span> |
| 1007 | + <md-icon>whatshot</md-icon> |
| 1008 | + <span>News</span> |
982 | 1009 |
|
983 |
| - <md-list-expand> |
| 1010 | + <md-list-expand> |
984 | 1011 | <md-list>
|
985 |
| - <md-list-item class="md-inset">World</md-list-item> |
986 |
| - <md-list-item class="md-inset">Americas</md-list-item> |
987 |
| - <md-list-item class="md-inset">Europe</md-list-item> |
| 1012 | + <md-list-item class="md-inset">World</md-list-item> |
| 1013 | + <md-list-item class="md-inset">Americas</md-list-item> |
| 1014 | + <md-list-item class="md-inset">Europe</md-list-item> |
988 | 1015 | </md-list>
|
989 |
| - </md-list-expand> |
| 1016 | + </md-list-expand> |
990 | 1017 | </md-list-item>
|
991 | 1018 |
|
992 | 1019 | <md-list-item>
|
993 |
| - <md-icon>videogame_asset</md-icon> |
994 |
| - <span>Games</span> |
| 1020 | + <md-icon>videogame_asset</md-icon> |
| 1021 | + <span>Games</span> |
995 | 1022 |
|
996 |
| - <md-list-expand> |
| 1023 | + <md-list-expand> |
997 | 1024 | <md-list>
|
998 |
| - <md-list-item class="md-inset">Console</md-list-item> |
999 |
| - <md-list-item class="md-inset">PC</md-list-item> |
1000 |
| - <md-list-item class="md-inset">Phone</md-list-item> |
| 1025 | + <md-list-item class="md-inset">Console</md-list-item> |
| 1026 | + <md-list-item class="md-inset">PC</md-list-item> |
| 1027 | + <md-list-item class="md-inset">Phone</md-list-item> |
1001 | 1028 | </md-list>
|
1002 |
| - </md-list-expand> |
| 1029 | + </md-list-expand> |
1003 | 1030 | </md-list-item>
|
1004 | 1031 |
|
1005 | 1032 | <md-list-item>
|
1006 |
| - <md-icon>video_library</md-icon> |
1007 |
| - <span>Video</span> |
| 1033 | + <md-icon>video_library</md-icon> |
| 1034 | + <span>Video</span> |
1008 | 1035 |
|
1009 |
| - <md-list-expand> |
| 1036 | + <md-list-expand> |
1010 | 1037 | <md-list>
|
1011 |
| - <md-list-item class="md-inset">Humor</md-list-item> |
1012 |
| - <md-list-item class="md-inset">Music</md-list-item> |
1013 |
| - <md-list-item class="md-inset">Movies</md-list-item> |
1014 |
| - <md-list-item class="md-inset">TV Shows</md-list-item> |
| 1038 | + <md-list-item class="md-inset">Humor</md-list-item> |
| 1039 | + <md-list-item class="md-inset">Music</md-list-item> |
| 1040 | + <md-list-item class="md-inset">Movies</md-list-item> |
| 1041 | + <md-list-item class="md-inset">TV Shows</md-list-item> |
1015 | 1042 | </md-list>
|
1016 |
| - </md-list-expand> |
| 1043 | + </md-list-expand> |
1017 | 1044 | </md-list-item>
|
1018 | 1045 |
|
1019 | 1046 | <md-list-item>
|
1020 |
| - <md-icon>shopping_basket</md-icon> |
1021 |
| - <span>Shop</span> |
| 1047 | + <md-icon>shopping_basket</md-icon> |
| 1048 | + <span>Shop</span> |
1022 | 1049 | </md-list-item>
|
1023 |
| - </md-list> |
| 1050 | + </md-list> |
| 1051 | + </div> |
| 1052 | + |
| 1053 | + <div class="phone-viewport"> |
| 1054 | + <md-toolbar md-theme="white"> |
| 1055 | + <span class="md-title">Multiple Expand</span> |
| 1056 | + </md-toolbar> |
| 1057 | + |
| 1058 | + <md-list> |
| 1059 | + <md-list-item md-expand-multiple> |
| 1060 | + <md-icon>whatshot</md-icon> |
| 1061 | + <span>News</span> |
| 1062 | + |
| 1063 | + <md-list-expand> |
| 1064 | + <md-list> |
| 1065 | + <md-list-item class="md-inset">World</md-list-item> |
| 1066 | + <md-list-item class="md-inset">Americas</md-list-item> |
| 1067 | + <md-list-item class="md-inset">Europe</md-list-item> |
| 1068 | + </md-list> |
| 1069 | + </md-list-expand> |
| 1070 | + </md-list-item> |
| 1071 | + |
| 1072 | + <md-list-item md-expand-multiple> |
| 1073 | + <md-icon>videogame_asset</md-icon> |
| 1074 | + <span>Games</span> |
| 1075 | + |
| 1076 | + <md-list-expand> |
| 1077 | + <md-list> |
| 1078 | + <md-list-item class="md-inset">Console</md-list-item> |
| 1079 | + <md-list-item class="md-inset">PC</md-list-item> |
| 1080 | + <md-list-item class="md-inset">Phone</md-list-item> |
| 1081 | + </md-list> |
| 1082 | + </md-list-expand> |
| 1083 | + </md-list-item> |
| 1084 | + |
| 1085 | + <md-list-item md-expand-multiple> |
| 1086 | + <md-icon>video_library</md-icon> |
| 1087 | + <span>Video</span> |
| 1088 | + |
| 1089 | + <md-list-expand> |
| 1090 | + <md-list> |
| 1091 | + <md-list-item class="md-inset">Humor</md-list-item> |
| 1092 | + <md-list-item class="md-inset">Music</md-list-item> |
| 1093 | + <md-list-item class="md-inset">Movies</md-list-item> |
| 1094 | + <md-list-item class="md-inset">TV Shows</md-list-item> |
| 1095 | + </md-list> |
| 1096 | + </md-list-expand> |
| 1097 | + </md-list-item> |
| 1098 | + |
| 1099 | + <md-list-item> |
| 1100 | + <md-icon>shopping_basket</md-icon> |
| 1101 | + <span>Shop</span> |
| 1102 | + </md-list-item> |
| 1103 | + </md-list> |
1024 | 1104 | </div>
|
1025 | 1105 | </code-block>
|
1026 | 1106 | </div>
|
|
0 commit comments