Skip to content

Commit

Permalink
Merge pull request #7 from managed-components/custom-event
Browse files Browse the repository at this point in the history
add support to custom event
  • Loading branch information
simonabadoiu authored Jul 18, 2024
2 parents d4985bc + 7ef0cfc commit acf9f37
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 acf9f37

Please sign in to comment.