2.0.6 • Published 1 year ago

leaf-collapse-component-vue v2.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

leaf-collapse-component-vue

English | 简体中文

🔥 Install

# with npm
npm install leaf-collapse-component-vue

# with yarn
yarn add leaf-collapse-component-vue

👍 Usage

// main.ts
import LeafCollapseComponentVue from "leaf-collapse-component-vue";
import "leaf-collapse-component-vue/lib/style.css";

app.use(LeafCollapseComponentVue);
const content = 'test content'

<leaf-collapse-textarea :content="content"></leaf-collapse-textarea>

📌 Props

const {
  width = "100%",
  lineHeight = 20,
  defaultCollapseLine = 3,
  content,
} = defineProps<{
  width?: string | number; // component width
  lineHeight?: number; // line-height
  defaultCollapseLine?: number; // default line
  content: string; // content
}>();

👐 issues

https://github.com/yyyz1011/leaf_collapse_component/issues

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago