synthetic-markdown 0.0.2 → 0.0.4

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/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
  let value = ''
14
14
  element.value = value
15
15
 
16
- element.addEventListener('input', (event) => {
16
+ element.addEventListener('change', (event) => {
17
17
  value = event.target.value
18
18
  })
19
19
  </script>
package/dist/index.cjs.js CHANGED
@@ -7711,7 +7711,7 @@ var Element = class extends HTMLElement {
7711
7711
  this.rootElement = div;
7712
7712
  }
7713
7713
  emitChange() {
7714
- this.dispatchEvent(new Event("input", {
7714
+ this.dispatchEvent(new Event("change", {
7715
7715
  bubbles: true,
7716
7716
  composed: true
7717
7717
  }));
package/dist/index.esm.js CHANGED
@@ -7683,7 +7683,7 @@ var Element = class extends HTMLElement {
7683
7683
  this.rootElement = div;
7684
7684
  }
7685
7685
  emitChange() {
7686
- this.dispatchEvent(new Event("input", {
7686
+ this.dispatchEvent(new Event("change", {
7687
7687
  bubbles: true,
7688
7688
  composed: true
7689
7689
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synthetic-markdown",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": {