1.0.0 • Published 5 years ago

vue-simple-form-alert v1.0.0

Weekly downloads
12
License
MIT
Repository
-
Last release
5 years ago

vue-simple-form-alert

Install

npm install vue-simple-form-alert

Register the component

import Vue from 'vue'
import VueSimpleFormAlert from 'vue-simple-form-alert'

Vue.component('v-simple-form-alert', VueSimpleFormAlert)

You may now use the component

<v-simple-form-alert value="Some message"/>

Show/Hide

Hide: if prop "value" is empty or "null"
Visible: if prop "value" is "String" or "Array"

Props

value: {
  type: [String, Array]
}