mixit/src/components/input/SettingString.vue

21 lines
396 B
Vue
Raw Normal View History

2019-05-01 15:07:08 +00:00
<template lang="pug">
extends model
block input
input(:id="id" type="text" :value="value" @keyup.enter="sendChange($event.target.value)")
</template>
<script lang="ts">
import { Component, Prop } from 'vue-property-decorator'
2019-05-03 15:03:13 +00:00
import BaseSetting from './BaseSetting'
2019-05-01 15:07:08 +00:00
@Component
2019-05-03 15:03:13 +00:00
export default class SettingString extends BaseSetting {
2019-05-01 15:07:08 +00:00
@Prop(String)
readonly value!: string
}
</script>