0.2.0 • Published 3 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
3 years ago
0.2.0
3 years ago
0.2.0-alpha1
3 years ago
0.1.3
3 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.0.1
5 years ago
0.1.1-alpha-027c3f7
5 years ago
0.1.1-alpha-2005111
5 years ago
0.1.1-alpha-915b214
5 years ago
0.1.1-alpha-6e8f8f5
5 years ago
0.1.1-alpha-e559eee
5 years ago
0.1.1-alpha-319114b
5 years ago
0.1.1-alpha-b1e98a0
5 years ago
0.1.1-alpha11
5 years ago
0.1.1-alpha1
5 years ago
0.1.1-alpha.dc25bef
5 years ago
0.1.1-alpha.e559eee
5 years ago