@eturnity/eturnity_reusable_components 7.6.1-EPDM-9777.5 → 7.6.1-EPDM-9777.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -69,9 +69,10 @@
|
|
69
69
|
// import ThreeDots from "@eturnity/eturnity_reusable_components/src/components/threeDots"
|
70
70
|
// To use:
|
71
71
|
// <three-dots
|
72
|
+
// :isLoading="true"
|
72
73
|
// :options="listOptions"
|
74
|
+
// @on-click="onClick($event)"
|
73
75
|
// @on-select="onSelect($event)"
|
74
|
-
// :isLoading="true"
|
75
76
|
// />
|
76
77
|
// options to pass:
|
77
78
|
// listOptions: [
|
@@ -371,6 +372,7 @@ export default {
|
|
371
372
|
},
|
372
373
|
onSelect({ item, hasChildren }) {
|
373
374
|
if (hasChildren || item.disabled) {
|
375
|
+
this.$emit('on-click', item)
|
374
376
|
return
|
375
377
|
}
|
376
378
|
this.$emit('on-select', item)
|