2016-08-03 06:32:30 +00:00
|
|
|
<template>
|
|
|
|
|
<section>
|
|
|
|
|
<h2 class="title">Checkbox</h2>
|
|
|
|
|
|
2016-08-08 23:21:19 +00:00
|
|
|
<div>
|
|
|
|
|
<md-checkbox :model.sync="checked0" id="my-test0" name="my-test0">My beautiful checkbox</md-checkbox>
|
|
|
|
|
</div>
|
|
|
|
|
|
2016-08-09 02:52:58 +00:00
|
|
|
<div v-md-theme="'indigo'">
|
|
|
|
|
<md-checkbox :model.sync="checked1" id="my-test1" name="my-test1">Themed</md-checkbox>
|
2016-08-08 23:21:19 +00:00
|
|
|
</div>
|
|
|
|
|
|
2016-08-09 02:52:58 +00:00
|
|
|
<div v-md-theme="'blue'">
|
|
|
|
|
<md-checkbox :model.sync="checked2" id="my-test2" name="my-test2">Accent Color</md-checkbox>
|
2016-08-08 23:21:19 +00:00
|
|
|
</div>
|
|
|
|
|
|
2016-08-09 02:52:58 +00:00
|
|
|
<div v-md-theme="'orange'">
|
|
|
|
|
<md-checkbox :model.sync="checked3" id="my-test3" name="my-test3">Fancy colors</md-checkbox>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div v-md-theme="'bottom-bar'">
|
|
|
|
|
<md-checkbox :model.sync="checked4" id="my-test4" name="my-test4">Really simple</md-checkbox>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div v-md-theme="'bottom-bar'">
|
|
|
|
|
<md-checkbox :model.sync="checked5" id="my-test5" name="my-test5" disabled>Disabled</md-checkbox>
|
2016-08-08 23:21:19 +00:00
|
|
|
</div>
|
2016-08-03 06:32:30 +00:00
|
|
|
</section>
|
|
|
|
|
</template>
|
|
|
|
|
|
2016-08-04 03:11:23 +00:00
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
section {
|
|
|
|
|
padding: 0 24px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
2016-08-03 06:32:30 +00:00
|
|
|
<script>
|
|
|
|
|
export default {
|
2016-08-04 23:59:42 +00:00
|
|
|
data() {
|
|
|
|
|
return {
|
2016-08-08 23:21:19 +00:00
|
|
|
checked0: true,
|
|
|
|
|
checked1: true,
|
|
|
|
|
checked2: true,
|
2016-08-09 02:52:58 +00:00
|
|
|
checked3: true,
|
|
|
|
|
checked4: true,
|
|
|
|
|
checked5: true
|
2016-08-04 23:59:42 +00:00
|
|
|
};
|
|
|
|
|
}
|
2016-08-03 06:32:30 +00:00
|
|
|
};
|
|
|
|
|
</script>
|