app-caption.vue 417 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<template>
    <span class="app-caption">{{caption}}</span>
</template>
<script lang='ts'>
import { Vue, Component, Prop } from 'vue-property-decorator';

@Component({})
export default class AppCaption extends Vue {

    /**
     * 按钮标题
     * 
     * @type {string}
     * @memberof AppButton
     */
    @Prop() public caption?: string;
}
</script>
<style lang="scss">
@import './app-caption.scss';
</style>