|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en" dir="ltr"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <title>Segment - Basic</title> |
| 6 | + <meta |
| 7 | + name="viewport" |
| 8 | + content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" |
| 9 | + /> |
| 10 | + <link href="../../../../../css/ionic.bundle.css" rel="stylesheet" /> |
| 11 | + <link href="../../../../../scripts/testing/styles.css" rel="stylesheet" /> |
| 12 | + <script src="../../../../../scripts/testing/scripts.js"></script> |
| 13 | + <script nomodule src="../../../../../dist/ionic/ionic.js"></script> |
| 14 | + <script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script> |
| 15 | + </head> |
| 16 | + |
| 17 | + <body onload="listenForEvent()"> |
| 18 | + <ion-app> |
| 19 | + <ion-toolbar> |
| 20 | + <ion-segment value="a"> |
| 21 | + <ion-segment-button value="a"> |
| 22 | + <ion-label>First</ion-label> |
| 23 | + </ion-segment-button> |
| 24 | + <ion-segment-button value="b"> |
| 25 | + <ion-label>Second</ion-label> |
| 26 | + </ion-segment-button> |
| 27 | + <ion-segment-button value="c"> |
| 28 | + <ion-label>Third</ion-label> |
| 29 | + </ion-segment-button> |
| 30 | + </ion-segment> |
| 31 | + <ion-buttons slot="start"> |
| 32 | + <ion-button id="button" color="primary" fill="solid"> |
| 33 | + Start |
| 34 | + </ion-button> |
| 35 | + </ion-buttons> |
| 36 | + </ion-toolbar> |
| 37 | + |
| 38 | + <ion-toolbar> |
| 39 | + <ion-segment value="a"> |
| 40 | + <ion-segment-button value="a"> |
| 41 | + <ion-label>First</ion-label> |
| 42 | + </ion-segment-button> |
| 43 | + <ion-segment-button value="b"> |
| 44 | + <ion-label>Second</ion-label> |
| 45 | + </ion-segment-button> |
| 46 | + <ion-segment-button value="c"> |
| 47 | + <ion-label>Third</ion-label> |
| 48 | + </ion-segment-button> |
| 49 | + </ion-segment> |
| 50 | + <ion-buttons slot="end"> |
| 51 | + <ion-button id="button" color="primary" fill="solid"> |
| 52 | + End |
| 53 | + </ion-button> |
| 54 | + </ion-buttons> |
| 55 | + </ion-toolbar> |
| 56 | + |
| 57 | + <ion-toolbar> |
| 58 | + <ion-segment value="a"> |
| 59 | + <ion-segment-button value="a"> |
| 60 | + <ion-label>First</ion-label> |
| 61 | + </ion-segment-button> |
| 62 | + <ion-segment-button value="b"> |
| 63 | + <ion-label>Second</ion-label> |
| 64 | + </ion-segment-button> |
| 65 | + <ion-segment-button value="c"> |
| 66 | + <ion-label>Third</ion-label> |
| 67 | + </ion-segment-button> |
| 68 | + </ion-segment> |
| 69 | + <ion-buttons slot="start"> |
| 70 | + <ion-button id="button" color="primary" fill="solid"> |
| 71 | + Start |
| 72 | + </ion-button> |
| 73 | + </ion-buttons> |
| 74 | + <ion-buttons slot="end"> |
| 75 | + <ion-button id="button" color="primary" fill="solid"> |
| 76 | + End |
| 77 | + </ion-button> |
| 78 | + </ion-buttons> |
| 79 | + </ion-toolbar> |
| 80 | + |
| 81 | + <ion-toolbar color="primary"> |
| 82 | + <ion-segment value="a"> |
| 83 | + <ion-segment-button value="a"> |
| 84 | + <ion-label>First</ion-label> |
| 85 | + </ion-segment-button> |
| 86 | + <ion-segment-button value="b"> |
| 87 | + <ion-label>Second</ion-label> |
| 88 | + </ion-segment-button> |
| 89 | + <ion-segment-button value="c" disabled="true"> |
| 90 | + <ion-label>Third</ion-label> |
| 91 | + </ion-segment-button> |
| 92 | + </ion-segment> |
| 93 | + <ion-buttons slot="secondary"> |
| 94 | + <ion-button id="button" color="primary" fill="solid"> |
| 95 | + Secondary |
| 96 | + </ion-button> |
| 97 | + </ion-buttons> |
| 98 | + <ion-buttons slot="primary"> |
| 99 | + <ion-button id="button" color="primary" fill="solid"> |
| 100 | + Primary |
| 101 | + </ion-button> |
| 102 | + </ion-buttons> |
| 103 | + </ion-toolbar> |
| 104 | + |
| 105 | + <ion-toolbar color="light"> |
| 106 | + <ion-segment value="a"> |
| 107 | + <ion-segment-button value="a"> |
| 108 | + <ion-label>First</ion-label> |
| 109 | + </ion-segment-button> |
| 110 | + <ion-segment-button value="b"> |
| 111 | + <ion-label>Second</ion-label> |
| 112 | + </ion-segment-button> |
| 113 | + <ion-segment-button value="c" disabled="true"> |
| 114 | + <ion-label>Third</ion-label> |
| 115 | + </ion-segment-button> |
| 116 | + </ion-segment> |
| 117 | + <ion-buttons slot="start"> |
| 118 | + <ion-button id="button" color="primary" fill="solid"> |
| 119 | + Start |
| 120 | + </ion-button> |
| 121 | + </ion-buttons> |
| 122 | + <ion-buttons slot="secondary"> |
| 123 | + <ion-button id="button" color="primary" fill="solid"> |
| 124 | + Secondary |
| 125 | + </ion-button> |
| 126 | + </ion-buttons> |
| 127 | + </ion-toolbar> |
| 128 | + |
| 129 | + <ion-toolbar color="medium"> |
| 130 | + <ion-segment value="a"> |
| 131 | + <ion-segment-button value="a"> |
| 132 | + <ion-label>First</ion-label> |
| 133 | + </ion-segment-button> |
| 134 | + <ion-segment-button value="b"> |
| 135 | + <ion-label>Second</ion-label> |
| 136 | + </ion-segment-button> |
| 137 | + <ion-segment-button value="c" disabled="true"> |
| 138 | + <ion-label>Third</ion-label> |
| 139 | + </ion-segment-button> |
| 140 | + </ion-segment> |
| 141 | + <ion-buttons slot="primary"> |
| 142 | + <ion-button id="button" color="primary" fill="solid"> |
| 143 | + Primary |
| 144 | + </ion-button> |
| 145 | + </ion-buttons> |
| 146 | + <ion-buttons slot="end"> |
| 147 | + <ion-button id="button" color="primary" fill="solid"> |
| 148 | + End |
| 149 | + </ion-button> |
| 150 | + </ion-buttons> |
| 151 | + </ion-toolbar> |
| 152 | + |
| 153 | + <ion-toolbar color="dark"> |
| 154 | + <ion-segment value="a"> |
| 155 | + <ion-segment-button value="a"> |
| 156 | + <ion-label>First</ion-label> |
| 157 | + </ion-segment-button> |
| 158 | + <ion-segment-button value="b"> |
| 159 | + <ion-label>Second</ion-label> |
| 160 | + </ion-segment-button> |
| 161 | + <ion-segment-button value="c" disabled="true"> |
| 162 | + <ion-label>Third</ion-label> |
| 163 | + </ion-segment-button> |
| 164 | + </ion-segment> |
| 165 | + <ion-buttons slot="start"> |
| 166 | + <ion-button id="button" color="primary" fill="solid"> |
| 167 | + Start |
| 168 | + </ion-button> |
| 169 | + </ion-buttons> |
| 170 | + <ion-buttons slot="secondary"> |
| 171 | + <ion-button id="button" color="primary" fill="solid"> |
| 172 | + Secondary |
| 173 | + </ion-button> |
| 174 | + </ion-buttons> |
| 175 | + <ion-buttons slot="primary"> |
| 176 | + <ion-button id="button" color="primary" fill="solid"> |
| 177 | + Primary |
| 178 | + </ion-button> |
| 179 | + </ion-buttons> |
| 180 | + <ion-buttons slot="end"> |
| 181 | + <ion-button id="button" color="primary" fill="solid"> |
| 182 | + End |
| 183 | + </ion-button> |
| 184 | + </ion-buttons> |
| 185 | + </ion-toolbar> |
| 186 | + |
| 187 | + <script> |
| 188 | + </script> |
| 189 | + </ion-content> |
| 190 | + |
| 191 | + <style> |
| 192 | + </style> |
| 193 | + </ion-app> |
| 194 | + </body> |
| 195 | +</html> |
0 commit comments