1.0.10 • Published 7 years ago

float-tip v1.0.10

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

float-tip

页面tip,分享,收藏,返回顶部

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

  ##Demo  

Installation

NPM

npm install --save float-tip

Usage

Loading the library

Browserify / Webpack
var Tip = require('float-tip');

Vue.use(Tip);

Using the social sharing component

<tip :opts="OPTS">

</tip>

Available properties

Demo props to use in the component:

top: {
  type: 'always',
  el: "'#header'",
  icon: 'fa fa-chevron-up fa-3x',
  text: "返回顶部"
},
share: {
  icon: "fa fa-share-alt fa-3x",
  text: "分享"
},
star: {
  icon: "fa fa-star-o fa-3x",
  text: "收藏"
}

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

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