app/assets/build/coco/book.js in coveragebook_components-0.5.7 vs app/assets/build/coco/book.js in coveragebook_components-0.6.0
- old
+ new
@@ -14960,11 +14960,12 @@
isCollapsed: false,
approving: false,
confirmed: true,
lastState: null,
stateTooltips: data2.tooltips || {},
- tooltipText: null
+ tooltipText: null,
+ dropdown: null
}, data2.props || {}), {
init() {
this.lastState = this.state;
this.$nextTick(() => {
if (this.$options.confirm) {
@@ -14999,9 +15000,20 @@
get disabled() {
return this.$options.disabled === true;
},
set disabled(value) {
this.$options.disabled = value;
+ },
+ /* dropdown */
+ hideDropdown() {
+ if (this.dropdown) {
+ this.dropdown.hide();
+ }
+ },
+ showDropdown() {
+ if (this.dropdown) {
+ this.dropdown.show();
+ }
},
/* confirmation */
checkConfirmation(event) {
if (!this.confirmed) {
this.approving = true;