0.1.2 • Published 5 years ago

vue-easily-notify v0.1.2

Weekly downloads
64
License
-
Repository
-
Last release
5 years ago

Vue.js notifications, automatically adapt PC and mobile.

Demo: To be added. Github: To be added.

Install

npm install --save vue-easily-notify

How to

In main.js:

import Vue           from 'vue'
import Notifications from 'vue-easily-notify'

Vue.use(Notifications)

In any of your vue files:

this.$hnotify.success({
  text: 'success !',
  mode: 'root'
});
this.$hnotify.info({
  text: 'info !',
  mode: 'root'
});
this.$hnotify.warnning({
  text: 'warnning !',
  mode: 'root'
});
this.$hnotify.error({
  text: 'error !',
  mode: 'root'
});

API

  this.$hnotify({
    // root: Optional,default value is '',
    // Mode of the mobile size view. Based on the root tag's font-size,
    // When your html tag's font-size is 16 , it should be 'root',
    // Other cases it should be ''.
    root: '',
    // text: Content of notify action.
    text: 'This is content '
  })
0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.55

5 years ago

0.0.54

5 years ago

0.0.53

5 years ago

0.0.52

5 years ago

0.0.51

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.31

5 years ago

0.0.3

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago