truncate-vue

0.0.2 • Public • Published

Truncate Vue

Vuejs to truncate string

Install:

npm install truncate-vue --save yarn add truncate-vue

import TruncateVue from 'truncate-vue'
Vue.use(TruncateVue)

Usage:

Vue 2.x

 {{ text | truncate(50) }}

Params:

  • length (Number)

  • clamp (String)

License

MIT

/truncate-vue/

    Package Sidebar

    Install

    npm i truncate-vue

    Weekly Downloads

    7

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    1.7 kB

    Total Files

    3

    Last publish

    Collaborators

    • enginkartal