|
| 1 | +<template> |
| 2 | + <page-content page-title="Components - Stepper"> |
| 3 | + <docs-component> |
| 4 | + <div slot="description"> |
| 5 | + <p>Step indicators are visual indications of an activity progression.</p> |
| 6 | + </div> |
| 7 | + |
| 8 | + <div slot="api"> |
| 9 | + <api-table name="md-stepper"> |
| 10 | + <md-table slot="properties"> |
| 11 | + <md-table-header> |
| 12 | + <md-table-row> |
| 13 | + <md-table-head>Name</md-table-head> |
| 14 | + <md-table-head>Type</md-table-head> |
| 15 | + <md-table-head>Description</md-table-head> |
| 16 | + </md-table-row> |
| 17 | + </md-table-header> |
| 18 | + <md-table-body> |
| 19 | + <md-table-row> |
| 20 | + <md-table-cell>md-alternate-labels</md-table-cell> |
| 21 | + <md-table-cell><code>Boolean</code></md-table-cell> |
| 22 | + <md-table-cell>On the horizontal display it will place the labels underneigh the step icon. Default: false</md-table-cell> |
| 23 | + </md-table-row> |
| 24 | + <md-table-row> |
| 25 | + <md-table-cell>md-elevation</md-table-cell> |
| 26 | + <md-table-cell><code>Number</code></md-table-cell> |
| 27 | + <md-table-cell>Sets the elevation of the container for each content and the horizontal header. Default: 1</md-table-cell> |
| 28 | + </md-table-row> |
| 29 | + <md-table-row> |
| 30 | + <md-table-cell>md-vertical</md-table-cell> |
| 31 | + <md-table-cell><code>Boolean</code></md-table-cell> |
| 32 | + <md-table-cell>Will place the steps in a vertical position. Default: false</md-table-cell> |
| 33 | + </md-table-row> |
| 34 | + </md-table-body> |
| 35 | + </md-table> |
| 36 | + </api-table> |
| 37 | + |
| 38 | + <api-table name="md-step"> |
| 39 | + <md-table slot="properties"> |
| 40 | + <md-table-header> |
| 41 | + <md-table-row> |
| 42 | + <md-table-head>Name</md-table-head> |
| 43 | + <md-table-head>Type</md-table-head> |
| 44 | + <md-table-head>Description</md-table-head> |
| 45 | + </md-table-row> |
| 46 | + </md-table-header> |
| 47 | + <md-table-body> |
| 48 | + <md-table-row> |
| 49 | + <md-table-cell>md-button-back</md-table-cell> |
| 50 | + <md-table-cell><code>String</code></md-table-cell> |
| 51 | + <md-table-cell>The text to be displayed in the back button. Default: 'BACK'.</md-table-cell> |
| 52 | + </md-table-row> |
| 53 | + <md-table-row> |
| 54 | + <md-table-cell>md-back-continue</md-table-cell> |
| 55 | + <md-table-cell><code>String</code></md-table-cell> |
| 56 | + <md-table-cell>The text to be displayed in the coninue button. Default: 'CONTINUE' or 'FINISH' (if is the last step)</md-table-cell> |
| 57 | + </md-table-row> |
| 58 | + <md-table-row> |
| 59 | + <md-table-cell>md-continue</md-table-cell> |
| 60 | + <md-table-cell><code>Boolean</code></md-table-cell> |
| 61 | + <md-table-cell>Ability to define if the step is completed and allowed to continue. Default: true</md-table-cell> |
| 62 | + </md-table-row> |
| 63 | + <md-table-row> |
| 64 | + <md-table-cell>md-disabled</md-table-cell> |
| 65 | + <md-table-cell><code>Boolean</code></md-table-cell> |
| 66 | + <md-table-cell>Ability to disable the step. Default: false</md-table-cell> |
| 67 | + </md-table-row> |
| 68 | + <md-table-row> |
| 69 | + <md-table-cell>md-editable</md-table-cell> |
| 70 | + <md-table-cell><code>Boolean</code></md-table-cell> |
| 71 | + <md-table-cell>If the step is allowed to go 'back' after it has been completed. Default: false</md-table-cell> |
| 72 | + </md-table-row> |
| 73 | + <md-table-row> |
| 74 | + <md-table-cell>md-icon</md-table-cell> |
| 75 | + <md-table-cell><code>String</code></md-table-cell> |
| 76 | + <md-table-cell>Icon to use instead of the index number. Default: will use the step index</md-table-cell> |
| 77 | + </md-table-row> |
| 78 | + <md-table-row> |
| 79 | + <md-table-cell>md-label</md-table-cell> |
| 80 | + <md-table-cell><code>String</code></md-table-cell> |
| 81 | + <md-table-cell>The label of step header. Default: undefined</md-table-cell> |
| 82 | + </md-table-row> |
| 83 | + <md-table-row> |
| 84 | + <md-table-cell>md-message</md-table-cell> |
| 85 | + <md-table-cell><code>String</code></md-table-cell> |
| 86 | + <md-table-cell>The sub message to be used underneigh the step header label. Default: undefined</md-table-cell> |
| 87 | + </md-table-row> |
| 88 | + </md-table-body> |
| 89 | + </md-table> |
| 90 | + <md-table slot="classes"> |
| 91 | + <md-table-header> |
| 92 | + <md-table-row> |
| 93 | + <md-table-head>Name</md-table-head> |
| 94 | + <md-table-head>Description</md-table-head> |
| 95 | + </md-table-row> |
| 96 | + </md-table-header> |
| 97 | + <md-table-body> |
| 98 | + <md-table-row> |
| 99 | + <md-table-cell>md-disabled</md-table-cell> |
| 100 | + <md-table-cell>Disabled class.</md-table-cell> |
| 101 | + </md-table-row> |
| 102 | + </md-table-body> |
| 103 | + </md-table> |
| 104 | + </api-table> |
| 105 | + </div> |
| 106 | + |
| 107 | + <div slot="example"> |
| 108 | + <example-box card-title="Default steps"> |
| 109 | + <div class="stepper-demo" slot="demo"> |
| 110 | + <md-stepper> |
| 111 | + <md-step> |
| 112 | + <p>This seems something basic I need to do first before the next step.</p> |
| 113 | + </md-step> |
| 114 | + <md-step> |
| 115 | + <p>This seems something I need to focus on just after the first step.</p> |
| 116 | + </md-step> |
| 117 | + <md-step> |
| 118 | + <p>This seems something important I need to fix just right before the last step.</p> |
| 119 | + </md-step> |
| 120 | + </md-stepper> |
| 121 | + </div> |
| 122 | + |
| 123 | + <div slot="code"> |
| 124 | + <code-block lang="xml"> |
| 125 | + <md-stepper> |
| 126 | + <md-step> |
| 127 | + <p>This seems something basic I need to do first before the next step.</p> |
| 128 | + </md-step> |
| 129 | + <md-step> |
| 130 | + <p>This seems something I need to focus on just after the first step.</p> |
| 131 | + </md-step> |
| 132 | + <md-step> |
| 133 | + <p>This seems something important I need to fix just right before the last step.</p> |
| 134 | + </md-step> |
| 135 | + </md-stepper> |
| 136 | + </code-block> |
| 137 | + </div> |
| 138 | + </example-box> |
| 139 | + |
| 140 | + <example-box card-title="Labels"> |
| 141 | + <div class="stepper-demo" slot="demo"> |
| 142 | + <md-stepper> |
| 143 | + <md-step md-label="Dunder Miflin"> |
| 144 | + <p>This seems something basic I need to do first before the next step.</p> |
| 145 | + </md-step> |
| 146 | + <md-step md-label="Scraton" md-message="Pennsylvania"> |
| 147 | + <p>This seems something I need to focus on just after the first step.</p> |
| 148 | + </md-step> |
| 149 | + </md-stepper> |
| 150 | + </div> |
| 151 | + |
| 152 | + <div slot="code"> |
| 153 | + <code-block lang="xml"> |
| 154 | + <md-stepper> |
| 155 | + <md-step md-label="Dunder Miflin"> |
| 156 | + <p>This seems something basic I need to do first before the next step.</p> |
| 157 | + </md-step> |
| 158 | + <md-step md-label="Scraton" md-message="Pennsylvania"> |
| 159 | + <p>This seems something I need to focus on just after the first step.</p> |
| 160 | + </md-step> |
| 161 | + </md-stepper> |
| 162 | + </code-block> |
| 163 | + </div> |
| 164 | + </example-box> |
| 165 | + |
| 166 | + <example-box card-title="Alternate Labels"> |
| 167 | + <div class="stepper-demo" slot="demo"> |
| 168 | + <md-stepper md-alternate-labels> |
| 169 | + <md-step md-label="Dunder Miflin"> |
| 170 | + <p>This seems something basic I need to do first before the next step.</p> |
| 171 | + </md-step> |
| 172 | + <md-step md-label="Scraton" md-message="Pennsylvania"> |
| 173 | + <p>This seems something I need to focus on just after the first step.</p> |
| 174 | + </md-step> |
| 175 | + </md-stepper> |
| 176 | + </div> |
| 177 | + |
| 178 | + <div slot="code"> |
| 179 | + <code-block lang="xml"> |
| 180 | + <md-stepper md-alternate-labels> |
| 181 | + <md-step md-label="Dunder Miflin"> |
| 182 | + <p>This seems something basic I need to do first before the next step.</p> |
| 183 | + </md-step> |
| 184 | + <md-step md-label="Scraton" md-message="Pennsylvania"> |
| 185 | + <p>This seems something I need to focus on just after the first step.</p> |
| 186 | + </md-step> |
| 187 | + </md-stepper> |
| 188 | + </code-block> |
| 189 | + </div> |
| 190 | + </example-box> |
| 191 | + |
| 192 | + <example-box card-title="Vertical steps"> |
| 193 | + <div class="stepper-demo" slot="demo"> |
| 194 | + <md-stepper md-vertical> |
| 195 | + <md-step> |
| 196 | + <p>This seems something basic I need to do first before the next step.</p> |
| 197 | + </md-step> |
| 198 | + <md-step> |
| 199 | + <p>This seems something I need to focus on just after the first step.</p> |
| 200 | + </md-step> |
| 201 | + <md-step> |
| 202 | + <p>This seems something important I need to fix just right before the last step.</p> |
| 203 | + </md-step> |
| 204 | + </md-stepper> |
| 205 | + </div> |
| 206 | + |
| 207 | + <div slot="code"> |
| 208 | + <code-block lang="xml"> |
| 209 | + <md-stepper md-vertical> |
| 210 | + <md-step> |
| 211 | + <p>This seems something basic I need to do first before the next step.</p> |
| 212 | + </md-step> |
| 213 | + <md-step> |
| 214 | + <p>This seems something I need to focus on just after the first step.</p> |
| 215 | + </md-step> |
| 216 | + <md-step> |
| 217 | + <p>This seems something important I need to fix just right before the last step.</p> |
| 218 | + </md-step> |
| 219 | + </md-stepper> |
| 220 | + </code-block> |
| 221 | + </div> |
| 222 | + </example-box> |
| 223 | + |
| 224 | + <example-box card-title="Vertical with Labels"> |
| 225 | + <div class="stepper-demo" slot="demo"> |
| 226 | + <md-stepper md-vertical> |
| 227 | + <md-step md-label="Dunder Miflin"> |
| 228 | + <p>This seems something basic I need to do first before the next step.</p> |
| 229 | + </md-step> |
| 230 | + <md-step md-label="Scraton" md-message="Pennsylvania"> |
| 231 | + <p>This seems something I need to focus on just after the first step.</p> |
| 232 | + </md-step> |
| 233 | + </md-stepper> |
| 234 | + </div> |
| 235 | + |
| 236 | + <div slot="code"> |
| 237 | + <code-block lang="xml"> |
| 238 | + <md-stepper md-vertical> |
| 239 | + <md-step md-label="Dunder Miflin"> |
| 240 | + <p>This seems something basic I need to do first before the next step.</p> |
| 241 | + </md-step> |
| 242 | + <md-step md-label="Scraton" md-message="Pennsylvania"> |
| 243 | + <p>This seems something I need to focus on just after the first step.</p> |
| 244 | + </md-step> |
| 245 | + </md-stepper> |
| 246 | + </code-block> |
| 247 | + </div> |
| 248 | + </example-box> |
| 249 | + </div> |
| 250 | + </docs-component> |
| 251 | + </page-content> |
| 252 | +</template> |
0 commit comments