mixit/src/components/input/SettingString.vue

21 lines
402 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'
import BaseSettingVue from './BaseSetting'
@Component
export default class SettingString extends BaseSettingVue {
@Prop(String)
readonly value!: string
}
</script>