You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have imported accessibilityButtons as shown in the README, and it didn't casue any error: import { accessibilityButtons } from 'accessibility-buttons/dist/js/accessibility-buttons';
But Calling accessibilityButtons() results in error Object(...) is not a function.
If this library does not work on angular please update your README.
To Reproduce
Steps to reproduce the behavior:
Create Angular project
import accessibilityButtons in a component
call accessibilityButtons()
See error
Expected behavior
The accessibilityButtons should be initiated
Enviroment (please complete the following information):
Windows
Opera
** Error message
main.ts:12 TypeError: Object(...) is not a function
at new AppComponent (app.component.ts:42)
at createClass (core.js:24584)
at createDirectiveInstance (core.js:24400)
at createViewNodes (core.js:35006)
at createRootView (core.js:34878)
at callWithDebugContext (core.js:36407)
at Object.debugCreateRootView [as createRootView] (core.js:35644)
at ComponentFactory_.create (core.js:23542)
at ComponentFactoryBoundToModule.create (core.js:19549)
at ApplicationRef.bootstrap (core.js:32042)
The text was updated successfully, but these errors were encountered:
Describe the bug
I have imported accessibilityButtons as shown in the README, and it didn't casue any error:
import { accessibilityButtons } from 'accessibility-buttons/dist/js/accessibility-buttons';
But Calling accessibilityButtons() results in error
Object(...) is not a function
.If this library does not work on angular please update your README.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The accessibilityButtons should be initiated
Enviroment (please complete the following information):
** Error message
The text was updated successfully, but these errors were encountered: