Skip to content

vue-comps/vue-close

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

vue-close

A button which dispatches a close event.

Install

npm install --save-dev vue-close

or include build/bundle.js.

Usage

# in your component
components:
  "close": require("vue-close")
# or, when using bundle.js
components:
  "close": window.vueComps.close
<close>Dismiss</close>

content defaults to "Close"

For examples see dev/.

Events

| Name | description | | ---:| --- | ---| --- | | before-close | will be emitted before close is dispatched | | close | will be dispatched on click |

Development

Clone repository.

npm install
npm run dev

Browse to http://localhost:8080/.

License

Copyright (c) 2016 Paul Pflugradt Licensed under the MIT license.

About

A button which dispatches a close event

Resources

Stars

Watchers

Forks

Packages

No packages published