@htmlplus/element 0.8.0 → 0.8.1

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.
@@ -280,7 +280,7 @@ export const customElement = (options) => {
280
280
  ...context.classProperties.map((property) => {
281
281
  return toPropertySignature(property);
282
282
  }),
283
- ...context.classProperties.map((event) => {
283
+ ...context.classEvents.map((event) => {
284
284
  return toPropertySignature(event, {
285
285
  optional: true,
286
286
  keyTransformer: (key) => camelCase('on-' + key),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlplus/element",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "author": "Masood Abdolian <m.abdolian@gmail.com>",