1.0.4 • Published 6 years ago

@ianfusion/vue-delete-button v1.0.4

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
6 years ago

Customisable delete confirmation button Component

This package contains a simple Vue component: a button that when clicked will ask user for confirmation before deleting a resource. If provided, the HTML element representing the resource will fade out.

Installation

npm i @ianfusion/vue-delete-button

then in app.js add the line: "import VueDeleteButton from '@ianfusion/vue-delete-button';"

and add

var vm = new Vue({ el: '#app', components: { VueDeleteButton, }, });

to import it.

Requirements

  • Sweet alert
  • jQuery

Support

If you come across any issues feel free to email me: ian@infusion-it.co.uk.

License

The MIT License (MIT). Please see the License File for more information.

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago