Skip to content

Commit

Permalink
ids-spinbox: add external "change" event dispatch for listeners on el…
Browse files Browse the repository at this point in the history
…ement
  • Loading branch information
rob2d committed Jun 4, 2021
1 parent 0eeefdd commit c164617
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ids-spinbox/ids-spinbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,11 @@ export default class IdsSpinbox extends mix(IdsElement).with(
this.input.value = nextValue;

this.#updateDisabledButtonStates();

this.triggerEvent('change', this, {
bubbles: false,
detail: { elem: this, value: nextValue }
});
}
}

Expand Down

0 comments on commit c164617

Please sign in to comment.