Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. <template>
  2. <v-layout>
  3. <v-flex xs12>
  4. <v-card>
  5. <v-card-title>
  6. <span class="headline">Child Form</span>
  7. </v-card-title>
  8. <v-card-text>
  9. <v-container grid-list-md>
  10. <v-layout wrap>
  11. <v-flex xs12 sm6 md4>
  12. <v-text-field v-model="param" label="input 1"></v-text-field>
  13. </v-flex>
  14. </v-layout>
  15. </v-container>
  16. </v-card-text>
  17. </v-card>
  18. </v-flex>
  19. </v-layout>
  20. </template>
  21.  
  22. <script>
  23. export default {
  24. name: "Child",
  25. components: {},
  26. data: () => ({}),
  27. props: ["param"],
  28. methods: {},
  29. updated: function() {
  30. this.$emit("input", this.param);
  31. }
  32. };
  33. </script>
  34.  
  35. <style>
  36. .bar {
  37. color: #fff;
  38. }
  39.  
  40. .content {
  41. text-align: right;
  42. }
  43. .card {
  44. margin: 10px;
  45. padding-bottom: 10px;
  46. }
  47. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement