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
778 B
Vue

<template>
<span>
{{prepend}}{{ pronoun.getMorpheme(morpheme, counter) }}{{append}}
<span v-if="config.pronunciation.enabled && pronoun.pronounceable && pronoun.getPronunciation(morpheme, counter) && !pronoun.getPronunciation(morpheme, counter).startsWith('=')" 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>