vue-material/src/docs/pages/Input.vue

35 lines
745 B
Vue
Raw Normal View History

2016-07-26 22:55:29 +00:00
<template>
<section v-md-theme="'blue'">
<md-input-container>
2016-07-27 22:17:22 +00:00
<label>Initial value</label>
2016-07-27 04:55:32 +00:00
<input type="text" value="test">
2016-07-26 22:55:29 +00:00
</md-input-container>
2016-07-27 04:55:32 +00:00
<md-input-container md-inline>
2016-07-27 22:17:22 +00:00
<label>Inline field</label>
2016-07-27 04:55:32 +00:00
<input type="text">
</md-input-container>
2016-07-27 22:17:22 +00:00
<md-input-container md-disabled>
<label>Disabled</label>
2016-07-27 04:55:32 +00:00
<input type="text">
</md-input-container>
2016-07-27 22:17:22 +00:00
<md-input-container md-has-password>
<label>Passwords</label>
<input type="password">
</md-input-container>
2016-07-27 04:55:32 +00:00
2016-07-27 22:17:22 +00:00
<md-input-container>
<label>Textarea</label>
<textarea></textarea>
</md-input-container>
2016-07-26 22:55:29 +00:00
</section>
</template>
<style lang="scss" scoped>
section {
margin: 24px;
}
</style>