|
258 | 258 | </div> |
259 | 259 | </example-box> |
260 | 260 |
|
| 261 | + <example-box card-title="Icons"> |
| 262 | + <div slot="demo"> |
| 263 | + <form novalidate @submit.stop.prevent="submit"> |
| 264 | + <md-input-container> |
| 265 | + <md-icon class="md-warn"> |
| 266 | + warning |
| 267 | + <md-tooltip>Be careful. You're almost broken!</md-tooltip> |
| 268 | + </md-icon> |
| 269 | + <label>Money</label> |
| 270 | + <md-input type="text"></md-input> |
| 271 | + <md-icon>attach_money</md-icon> |
| 272 | + </md-input-container> |
| 273 | + |
| 274 | + <md-input-container> |
| 275 | + <md-icon>phone</md-icon> |
| 276 | + <label>Phone</label> |
| 277 | + <md-input type="tel"></md-input> |
| 278 | + </md-input-container> |
| 279 | + |
| 280 | + <md-input-container> |
| 281 | + <md-icon>speaker_notes</md-icon> |
| 282 | + <label>Notes</label> |
| 283 | + <md-textarea></md-textarea> |
| 284 | + </md-input-container> |
| 285 | + </form> |
| 286 | + </div> |
| 287 | + |
| 288 | + <div slot="code"> |
| 289 | + <code-block lang="xml"> |
| 290 | + <form novalidate @submit.stop.prevent="submit"> |
| 291 | + <md-input-container> |
| 292 | + <md-icon class="md-warn"> |
| 293 | + warning |
| 294 | + <md-tooltip>Be careful. You're almost broken!</md-tooltip> |
| 295 | + </md-icon> |
| 296 | + <label>Money</label> |
| 297 | + <md-input type="text"></md-input> |
| 298 | + <md-icon>attach_money</md-icon> |
| 299 | + </md-input-container> |
| 300 | + |
| 301 | + <md-input-container> |
| 302 | + <md-icon>phone</md-icon> |
| 303 | + <label>Phone</label> |
| 304 | + <md-input type="tel"></md-input> |
| 305 | + </md-input-container> |
| 306 | + |
| 307 | + <md-input-container> |
| 308 | + <md-icon>speaker_notes</md-icon> |
| 309 | + <label>Notes</label> |
| 310 | + <md-textarea></md-textarea> |
| 311 | + </md-input-container> |
| 312 | + </form> |
| 313 | + </code-block> |
| 314 | + </div> |
| 315 | + </example-box> |
| 316 | + |
261 | 317 | <example-box card-title="Required and Errors"> |
262 | 318 | <div slot="demo"> |
263 | 319 | <form novalidate @submit.stop.prevent="submit"> |
|
0 commit comments