DesignRevision / shards-vue

🌟Shards Vue is a free, beautiful and modern Vue.js UI kit based on Shards.
https://designrevision.com/docs/shards-vue/
MIT License
393 stars 40 forks source link

d-dropdown-item does not emit on click #20

Open metalgrid opened 5 years ago

metalgrid commented 5 years ago

Expected Behavior

Clicking a should fire a clicked event

Current Behavior

Clicking a d-dropdown-item does not fire a clicked event

Steps to Reproduce

  1. Create new vue-cli project vue-cli webpack shards-test
  2. Install and load ShardsVue
  3. Add some d-dropdown-items and @click
  4. Click any d-dropdown-item

Context (Environment)

I need a dropdown where each item fires a different function or the same function with different arguments

Possible Solution

Not sure if it helps, but using (from bootstrap-vue) instead works properly.

Possible Implementation