This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
seepur/resources/scripts/applications/shared/components/SidewayText/SidewayText.vue
2020-02-09 10:17:11 -05:00

25 lines
635 B
Vue

<template>
<div class="sideway-text m-b-lg">
<div
v-for="letter in text.split('').slice().reverse()"
:class="[{'has-text-weight-bold':bold}, textSize, 'sideway-letter', 'has-text-centered']"
>{{letter === ' ' ? '&nbsp;': letter}}</div>
</div>
<!-- <div class="sideway-text">
<div class="continer sideway-letter-container" >
<div class="container sideway-letter">{{letter}}</div>
</div>
</div>-->
</template>
<script lang="ts" >
export interface ISidewayText {
class: string;
}
export default {
name: "SidewayText",
props: ["text", "bold", "textSize"],
data: () => ({})
};
</script>