1.1.13 • Published 7 years ago

vue-abbr v1.1.13

Weekly downloads
42
License
MIT
Repository
github
Last release
7 years ago

GitHub last commit license

NPM

Vue-Abbr

Browser Matrix

Description

A component for vue.js . Used for omitting the middle fragment in the single-line text. It is also adaptive when dragging the window screen.

In the space where the display width is limited, it can show the head and tail of a string of characters. Through this way, it will be easier to infer the meaning of the string.

The component is exactly what you need !

Feature

  • A novel method to omit single-line text
  • Good compatibility

Install

NPM

npm install vue-abbr

Usage

props

PropTypeRequiredDescription
textStringThis is the showing string
cutNumber*Which means the position where to cut the string. Its default value is zero, it will cut the string in the middle.

mount with global

// require lib
import Vue from 'vue'
import VueAbbr from 'vue-abbr'

// require styles
import 'vue-abbr/dist/vue-abbr.min.css'

// you can set default global options and events when use
Vue.use(VueAbbr)

Contributions

Welcome to improve vue-virtual-scroll-list with any issue, pull request or code review.

1.1.13

7 years ago

1.1.12

7 years ago

1.1.11

7 years ago

1.1.10

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago