File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,10 @@ Vue.use(textMiddleEllipsis);
18
18
``` html
19
19
<p v-text-middle-ellipsis =" 4" >Some long text.</p >
20
20
```
21
- __ Result__ : 'Some...ext.'
22
-
23
21
The value passed to the directive - is the count of symbols that you are want to preserve from truncate.
22
+ ### Result
23
+ 'Some...ext.'
24
+
24
25
25
26
### Live example
26
27
<img width =" 493 " height =" 350 " src =" https://raw.githubusercontent.com/Tardigrada777/vue-text-middle-ellipsis/master/docs/text-middle-ellipsis-example.gif " >
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-text-middle-ellipsis" ,
3
3
"description" : " Simple vue-directive for the text middle ellipsis." ,
4
- "version" : " 1.0.0 " ,
4
+ "version" : " 1.0.1 " ,
5
5
"author" : " tardigrada777 <ntwrite@gmail.com>" ,
6
6
"license" : " MIT" ,
7
7
"main" : " lib/vue-text-middle-ellipsis.min.js" ,
8
8
"files" : [
9
9
" lib"
10
10
],
11
+ "keywords" : [
12
+ " truncate" ,
13
+ " vue" ,
14
+ " vue-directive" ,
15
+ " middle-text-ellipsis"
16
+ ],
11
17
"scripts" : {
12
18
"dev" : " cross-env NODE_ENV=development webpack-dev-server --open --hot" ,
13
19
"build:lib" : " rm -rf ./lib && bili src/index.js" ,
You can’t perform that action at this time.
0 commit comments