Skip to content

Commit

Permalink
add support to custom event
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-astra-via committed Jul 18, 2024
1 parent d4985bc commit 7ef0cfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: [
'eslint:recommended',
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,7 @@ export default async function (manager: Manager, settings: ComponentSettings) {
manager.addEventListener('SignUp', event => {
eventHandler('SignUp', event, settings)
})
manager.addEventListener('Custom', event => {
eventHandler('Custom', event, settings)
})
}

0 comments on commit 7ef0cfc

Please sign in to comment.