1.1.13 • Published 6 years ago

vue-abbr v1.1.13

Weekly downloads
42
License
MIT
Repository
github
Last release
6 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

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago