1.0.1 • Published 5 years ago

@the_aceix/overlay-badge v1.0.1

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

OverlayBadge

OverlayBadge is a simple minimal lightweight badge component for Vue.js 2.x

Props

  • type (String) - type of badge (conforms to Bootstrap). Possible values are primary|secondary|success|info|warning|danger
  • count (Number | String) - the value to be displayed in badge - default 0
  • position (String) - defines the corner the badge will show (possible values are top-right|top-left|bottom-right|bottom-left) - default top-right
  • onClick (Function) - the callback to be fired when the badge is clicked - default undefined

Slots

  • default - component or element which the badge will show on
  • float - the badge

Contribution

Project is open to suggestions. To contribute: 1. Fork the repo 2. Edit source 3. Raise an issue, linking to your repo

License

MIT

1.0.1

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

1.0.0

5 years ago