0.2.0 • Published 2 years ago
@internetarchive/ia-zendesk-help-widget v0.2.0
Zendesk Help Widget Component
Usage
<ia-zendesk-help-widget
widgetSrc="https://static.zdassets.com/ekr/snippet.js?key=[zendesk-api-key]"
></ia-zendesk-help-widget>
Properties:
widgetSrc: { type: String }, // widget src
Events
* initiateZenDesk: Initiate third party script injection
Testing
Unit tests are placed in the ./test directory with the suffix and extension
".test.js". Any other JS files in the test directory will be ignored by Karma.
Run the tests with yarn test
.
Structure
- index.js - main component export
- index.html - file opened when running
yarn start
- karma.conf.js - Karma runner config
- karma.bs.conf.js - Karma BrowserStack config. Note that BROWSER_STACK_USERNAME and BROWSER_STACK_ACCESS_KEY need to be set as environment variables before running.
- /src/ia-zendesk-help-widget - main component definition
- /stories - Storybook setup
- /test - unit tests
0.1.3-a1
2 years ago
0.2.0
2 years ago
0.2.0-alpha1
2 years ago
0.1.3
2 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.0.1
4 years ago
0.1.1-alpha-027c3f7
4 years ago
0.1.1-alpha-2005111
4 years ago
0.1.1-alpha-915b214
4 years ago
0.1.1-alpha-6e8f8f5
4 years ago
0.1.1-alpha-e559eee
4 years ago
0.1.1-alpha-319114b
4 years ago
0.1.1-alpha-b1e98a0
4 years ago
0.1.1-alpha11
4 years ago
0.1.1-alpha1
4 years ago
0.1.1-alpha.dc25bef
4 years ago
0.1.1-alpha.e559eee
4 years ago