This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/components/Morpheme.vue

24 lines
714 B
Vue
Raw Normal View History

2020-11-28 07:52:48 -08:00
<template>
<span>
{{prepend}}{{ pronoun.getMorpheme(morpheme, counter) }}{{append}}
<span v-if="config.pronunciation.enabled && pronoun.pronounceable && pronoun.getPronunciation(morpheme, counter)" class="text-muted">
/{{prependPr}}{{pronoun.getPronunciation(morpheme, counter)}}{{appendPr}}/
</span>
</span>
</template>
<script>
export default {
props: {
pronoun: { required: true },
morpheme: { required: true },
counter: { default: 0 },
prepend: { default: '' },
prependPr: { default: '' },
append: { default: '' },
appendPr: { default: '' },
}
}
</script>