@typography-org/vue
v1.0.0
Published
A vue component library that calculates fonts according to browser behavior and omits expanding and collapsing
Downloads
5
Maintainers
Readme
@typography-org/vue
install
npm i @typography-org/vue -S
fast use
<template>
<div :style="{ width: '300px', border: '1px solid red', boxSizing: 'initial' }">
<Paragraph
:ellipsis="{
rows: 2,
expandable: true,
packupable: true,
}"
>
I may be the first row of data displayed in this text box hey, I may be the second row of data displayed in this text box, I may be the third row of data displayed in this text box
</Paragraph>
</div>
</template>
<script lang="ts">
import Paragraph from "@typography-org/vue";
export default {
components: {
Paragraph: Paragraph,
},
};
</script>
Documentation
See https://drdevelop.github.io/typography/vue/index.html