@aurodesignsystem-dev/auro-accordion 0.0.0-pr190.0 → 0.0.0-pr200.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/NOTICE +2 -0
- package/README.md +25 -59
- package/demo/api.js +2 -1
- package/demo/api.md +13 -7
- package/demo/api.min.js +15 -2028
- package/demo/auro-accordion.min.js +727 -0
- package/demo/index.js +12 -14
- package/demo/index.min.js +13 -2024
- package/dist/auro-accordion-B6aPKaGa.js +113 -0
- package/dist/index.d.ts +121 -0
- package/dist/index.js +1 -0
- package/dist/registered.js +1 -0
- package/package.json +40 -129
- package/.husky/commit-msg +0 -1
- package/.husky/pre-commit +0 -1
- package/.vscode/settings.json +0 -8
- package/apiExamples/accordionGroup.html +0 -47
- package/apiExamples/accordionGroupLg.html +0 -47
- package/apiExamples/accordionGroupSm.html +0 -47
- package/apiExamples/alignChevronRight.html +0 -15
- package/apiExamples/alignRight.html +0 -15
- package/apiExamples/basic.html +0 -15
- package/apiExamples/chevronNone.html +0 -15
- package/apiExamples/chevronRight.html +0 -15
- package/apiExamples/custom.html +0 -15
- package/apiExamples/customGroup.html +0 -47
- package/apiExamples/disabled.html +0 -15
- package/apiExamples/disabledGroup.html +0 -47
- package/apiExamples/emphasis.html +0 -47
- package/apiExamples/expanded.html +0 -17
- package/apiExamples/expanded.js +0 -11
- package/apiExamples/noToggleExpanded.html +0 -47
- package/coverage/lcov-report/auro-accordion-group.js.html +0 -472
- package/coverage/lcov-report/auro-accordion.js.html +0 -664
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/color-css.js.html +0 -91
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/iconVersion.js.html +0 -85
- package/coverage/lcov-report/index.html +0 -131
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/coverage/lcov-report/src/auro-accordion-button.js.html +0 -283
- package/coverage/lcov-report/src/auro-accordion-group.js.html +0 -538
- package/coverage/lcov-report/src/auro-accordion.js.html +0 -895
- package/coverage/lcov-report/src/iconVersion.js.html +0 -85
- package/coverage/lcov-report/src/index.html +0 -161
- package/coverage/lcov-report/src/styles/color-css.js.html +0 -91
- package/coverage/lcov-report/src/styles/index.html +0 -161
- package/coverage/lcov-report/src/styles/style-button-css.js.html +0 -91
- package/coverage/lcov-report/src/styles/style-css.js.html +0 -91
- package/coverage/lcov-report/src/styles/tokens-css.js.html +0 -91
- package/coverage/lcov-report/style-css.js.html +0 -91
- package/coverage/lcov-report/tokens-css.js.html +0 -91
- package/coverage/lcov.info +0 -682
- package/dist/auro-accordion-button.d.ts +0 -17
- package/dist/auro-accordion-button.d.ts.map +0 -1
- package/dist/auro-accordion-group.d.ts +0 -61
- package/dist/auro-accordion-group.d.ts.map +0 -1
- package/dist/auro-accordion.d.ts +0 -106
- package/dist/auro-accordion.d.ts.map +0 -1
- package/dist/auro-accordion__bundled.js +0 -2023
- package/dist/color-css.d.ts +0 -3
- package/dist/color-css.d.ts.map +0 -1
- package/dist/iconVersion.d.ts +0 -3
- package/dist/iconVersion.d.ts.map +0 -1
- package/dist/src/auro-accordion-button.d.ts +0 -19
- package/dist/src/auro-accordion-button.d.ts.map +0 -1
- package/dist/src/auro-accordion-group.d.ts +0 -61
- package/dist/src/auro-accordion-group.d.ts.map +0 -1
- package/dist/src/auro-accordion.d.ts +0 -106
- package/dist/src/auro-accordion.d.ts.map +0 -1
- package/dist/src/color-css.d.ts +0 -3
- package/dist/src/color-css.d.ts.map +0 -1
- package/dist/src/iconVersion.d.ts +0 -3
- package/dist/src/iconVersion.d.ts.map +0 -1
- package/dist/src/style-button-css.d.ts +0 -3
- package/dist/src/style-button-css.d.ts.map +0 -1
- package/dist/src/style-css.d.ts +0 -3
- package/dist/src/style-css.d.ts.map +0 -1
- package/dist/src/styles/color-css.d.ts +0 -3
- package/dist/src/styles/color-css.d.ts.map +0 -1
- package/dist/src/styles/style-button-css.d.ts +0 -3
- package/dist/src/styles/style-button-css.d.ts.map +0 -1
- package/dist/src/styles/style-css.d.ts +0 -3
- package/dist/src/styles/style-css.d.ts.map +0 -1
- package/dist/src/styles/tokens-css.d.ts +0 -3
- package/dist/src/styles/tokens-css.d.ts.map +0 -1
- package/dist/src/tokens-css.d.ts +0 -3
- package/dist/src/tokens-css.d.ts.map +0 -1
- package/dist/style-button-css.d.ts +0 -3
- package/dist/style-button-css.d.ts.map +0 -1
- package/dist/style-css.d.ts +0 -3
- package/dist/style-css.d.ts.map +0 -1
- package/dist/test/auro-accordion-group.test.d.ts +0 -2
- package/dist/test/auro-accordion-group.test.d.ts.map +0 -1
- package/dist/test/auro-accordion.test.d.ts +0 -2
- package/dist/test/auro-accordion.test.d.ts.map +0 -1
- package/dist/tokens-css.d.ts +0 -3
- package/dist/tokens-css.d.ts.map +0 -1
- package/index.js +0 -3
- package/packageScripts/postinstall.mjs +0 -28
- package/scripts/version.mjs +0 -3
- package/scripts/wca/auro-accordion.js +0 -12
- package/src/auro-accordion-button.js +0 -66
- package/src/auro-accordion-group.js +0 -151
- package/src/auro-accordion.js +0 -270
- package/src/color-css.js +0 -2
- package/src/color.css +0 -39
- package/src/iconVersion.js +0 -1
- package/src/style-button-css.js +0 -2
- package/src/style-button.css +0 -53
- package/src/style-css.js +0 -2
- package/src/style.css +0 -147
- package/src/styles/color-css.js +0 -2
- package/src/styles/color.css +0 -43
- package/src/styles/color.scss +0 -75
- package/src/styles/style-button-css.js +0 -2
- package/src/styles/style-button.css +0 -63
- package/src/styles/style-button.scss +0 -86
- package/src/styles/style-css.js +0 -2
- package/src/styles/style.css +0 -347
- package/src/styles/style.scss +0 -200
- package/src/styles/tokens-css.js +0 -2
- package/src/styles/tokens.css +0 -7
- package/src/styles/tokens.scss +0 -9
- package/src/tokens-css.js +0 -2
- package/src/tokens.css +0 -7
- package/test/auro-accordion-group.test.js +0 -230
- package/test/auro-accordion.test.js +0 -104
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
## [5.2.6](https://github.com/AlaskaAirlines/auro-accordion/compare/v5.2.5...v5.2.6) (2025-09-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* remove left-padding on large emphasis accordion [#199](https://github.com/AlaskaAirlines/auro-accordion/issues/199) ([6ad5c45](https://github.com/AlaskaAirlines/auro-accordion/commit/6ad5c4522cb149d6fe5de9fe74a7470394c6bde9))
|
|
9
|
+
* remove left-padding on right chevron non-emphasis accordion [#185](https://github.com/AlaskaAirlines/auro-accordion/issues/185) ([6e16e79](https://github.com/AlaskaAirlines/auro-accordion/commit/6e16e79060da1f0d0a5a8dd91dbdd38382e0b660))
|
|
10
|
+
|
|
11
|
+
## [5.2.5](https://github.com/AlaskaAirlines/auro-accordion/compare/v5.2.4...v5.2.5) (2025-09-23)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* ensure icon alignment in button's text slot [#189](https://github.com/AlaskaAirlines/auro-accordion/issues/189) ([500d406](https://github.com/AlaskaAirlines/auro-accordion/commit/500d406fed0d8e52f18a5d6f529647dafaea5720))
|
|
17
|
+
* truncate trigger text on emphasis accordion [#192](https://github.com/AlaskaAirlines/auro-accordion/issues/192) ([99d17b9](https://github.com/AlaskaAirlines/auro-accordion/commit/99d17b9d8045d155c8e445aa0c00d9e79140a15a))
|
|
18
|
+
|
|
3
19
|
## [5.2.4](https://github.com/AlaskaAirlines/auro-accordion/compare/v5.2.3...v5.2.4) (2025-08-25)
|
|
4
20
|
|
|
5
21
|
|
package/NOTICE
ADDED
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@ The README.md file is a compiled document. No edits should be made directly to t
|
|
|
4
4
|
README.md is created by running `npm run build:docs`.
|
|
5
5
|
|
|
6
6
|
This file is generated based on a template fetched from
|
|
7
|
-
`https://raw.githubusercontent.com/AlaskaAirlines/
|
|
8
|
-
and copied to `./componentDocs/README.md` each time the
|
|
7
|
+
`https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/README.md`
|
|
8
|
+
and copied to `./componentDocs/README.md` each time the docs are compiled.
|
|
9
9
|
|
|
10
10
|
The following sections are editable by making changes to the following files:
|
|
11
11
|
|
|
@@ -17,7 +17,7 @@ The following sections are editable by making changes to the following files:
|
|
|
17
17
|
| Component Example Code | HTML sample code of the components use | `./apiExamples/basic.html` |
|
|
18
18
|
-->
|
|
19
19
|
|
|
20
|
-
#
|
|
20
|
+
# Accordion
|
|
21
21
|
|
|
22
22
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
|
|
23
23
|
<!-- The below content is automatically added from ./docs/partials/description.md -->
|
|
@@ -45,44 +45,42 @@ Or, by CDN.
|
|
|
45
45
|
|
|
46
46
|
## UI development browser support
|
|
47
47
|
|
|
48
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/
|
|
48
|
+
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/browserSupport.md) -->
|
|
49
49
|
For the most up to date information on [UI development browser support](https://auro.alaskaair.com/support/browsersSupport)
|
|
50
50
|
|
|
51
51
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
52
52
|
|
|
53
53
|
## Install
|
|
54
54
|
|
|
55
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/
|
|
56
|
-
[ -->
|
|
56
|
+
[](https://github.com/AlaskaAirlines/auro-accordion/actions/workflows/testPublish.yml)
|
|
57
|
+
[](https://www.npmjs.com/package/@aurodesignsystem/auro-accordion)
|
|
58
|
+
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
59
59
|

|
|
60
60
|
|
|
61
61
|
```shell
|
|
62
|
-
$ npm i @aurodesignsystem
|
|
62
|
+
$ npm i @aurodesignsystem/auro-accordion
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
Installing as a direct, dev or peer dependency is up to the user installing the package. If you are unsure as to what type of dependency you should use, consider reading this [stack overflow](https://stackoverflow.com/questions/18875674/whats-the-difference-between-dependencies-devdependencies-and-peerdependencies) answer.
|
|
66
|
-
|
|
67
65
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
68
66
|
|
|
69
67
|
### Design Token CSS Custom Property dependency
|
|
70
68
|
|
|
71
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/
|
|
69
|
+
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/designTokens.md) -->
|
|
72
70
|
The use of any Auro custom element has a dependency on the [Auro Design Tokens](https://auro.alaskaair.com/getting-started/developers/design-tokens).
|
|
73
71
|
|
|
74
72
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
75
73
|
|
|
76
74
|
### Define dependency in project component
|
|
77
75
|
|
|
78
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/
|
|
79
|
-
Defining the component dependency within each component that is using the
|
|
76
|
+
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImportDescription.md) -->
|
|
77
|
+
Defining the component dependency within each component that is using the `<auro-accordion>` component.
|
|
80
78
|
|
|
81
79
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
82
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/
|
|
80
|
+
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/componentImport.md) -->
|
|
83
81
|
|
|
84
82
|
```js
|
|
85
|
-
import "@aurodesignsystem
|
|
83
|
+
import "@aurodesignsystem/auro-accordion";
|
|
86
84
|
```
|
|
87
85
|
|
|
88
86
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -109,28 +107,18 @@ import "@aurodesignsystem-dev/-dev/-dev/auro-accordion";
|
|
|
109
107
|
```
|
|
110
108
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
111
109
|
|
|
112
|
-
##
|
|
113
|
-
|
|
114
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/bundleInstallDescription.md) -->
|
|
115
|
-
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. See -- `-dev/-dev/auro-accordion__bundled.js` for modern browsers. Legacy browsers such as IE11 are no longer supported.
|
|
116
|
-
|
|
117
|
-
**WARNING!** When installing into your application environment, DO NOT use `@latest` for the requested version. Risks include unknown MAJOR version releases and instant adoption of any new features and possible bugs without developer knowledge. The `@latest` wildcard should NEVER be used for production customer-facing applications. You have been warned.
|
|
110
|
+
## Use CDN
|
|
118
111
|
|
|
119
|
-
<!-- AURO-GENERATED-CONTENT:
|
|
120
|
-
|
|
121
|
-
### Bundle example code
|
|
112
|
+
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/usage/bundleInstallDescription.md) -->
|
|
113
|
+
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
122
114
|
|
|
123
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/bundleUseModBrowsers.md) -->
|
|
124
|
-
|
|
125
115
|
```html
|
|
126
|
-
<
|
|
127
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@/dist/bundled/essentials.css" />
|
|
128
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem-dev/-dev/-dev/auro-accordion@0.0.0-pr190.0/dist/-dev/-dev/auro-accordion__bundled.js" type="module"></script>
|
|
116
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/+esm"></script>
|
|
129
117
|
```
|
|
130
118
|
|
|
131
119
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
132
120
|
|
|
133
|
-
## auro-
|
|
121
|
+
## auro-accordion use cases
|
|
134
122
|
|
|
135
123
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
|
|
136
124
|
<!-- The below content is automatically added from ./docs/partials/useCases.md -->
|
|
@@ -142,7 +130,7 @@ The `<auro-accordion>` element should be used in situations where users may:
|
|
|
142
130
|
|
|
143
131
|
## API Code Examples
|
|
144
132
|
|
|
145
|
-
### Default auro-
|
|
133
|
+
### Default auro-accordion
|
|
146
134
|
|
|
147
135
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
|
|
148
136
|
<!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
|
|
@@ -168,7 +156,7 @@ The `<auro-accordion>` element should be used in situations where users may:
|
|
|
168
156
|
|
|
169
157
|
## Development
|
|
170
158
|
|
|
171
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/
|
|
159
|
+
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/developmentDescription.md) -->
|
|
172
160
|
In order to develop against this project, if you are not part of the core team, you will be required to fork the project prior to submitting a pull request.
|
|
173
161
|
|
|
174
162
|
Please be sure to review the [contribution guidelines](https://auro.alaskaair.com/contributing) for this project. Please make sure to **pay special attention** to the **conventional commits** section of the document.
|
|
@@ -177,42 +165,20 @@ Please be sure to review the [contribution guidelines](https://auro.alaskaair.co
|
|
|
177
165
|
|
|
178
166
|
### Start development environment
|
|
179
167
|
|
|
180
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/
|
|
168
|
+
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/localhost.md) -->
|
|
181
169
|
Once the project has been cloned to your local resource and you have installed all the dependencies you will need to open a shell session to run the **dev server**.
|
|
182
170
|
|
|
183
171
|
```shell
|
|
184
172
|
$ npm run dev
|
|
185
173
|
```
|
|
186
174
|
|
|
187
|
-
Open [localhost:8000](http://localhost:8000/)
|
|
188
|
-
|
|
189
|
-
If running separate sessions is preferred, please run the following commands in individual terminal shells.
|
|
190
|
-
|
|
191
|
-
```shell
|
|
192
|
-
$ npm run build:watch
|
|
193
|
-
|
|
194
|
-
$ npm run serve
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
175
|
+
Open [localhost:8000](http://localhost:8000/)
|
|
198
176
|
|
|
199
|
-
### API generation
|
|
200
|
-
|
|
201
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/api.md) -->
|
|
202
|
-
The custom element API file is generated in the build and committed back to the repo with a version change. If the API doc has changed without a version change, author's are to run `npm run build:api` to generate the doc and commit to version control.
|
|
203
|
-
|
|
204
177
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
205
178
|
|
|
206
179
|
### Testing
|
|
207
180
|
|
|
208
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/
|
|
209
|
-
Automated tests are required for every Auro component. See `.\test
|
|
210
|
-
|
|
211
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
212
|
-
|
|
213
|
-
### Bundled assets
|
|
214
|
-
|
|
215
|
-
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/bundles.md) -->
|
|
216
|
-
Bundled assets are only generated in the remote and not merged back to this repo. To review and/or test a bundled asset locally, run `$ npm run bundler` to generate assets.
|
|
181
|
+
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/auro-templates/main/templates/default/partials/development/testing.md) -->
|
|
182
|
+
Automated tests are required for every Auro component. See `.\test\auro-accordion.test.js` for the tests for this component. Run `npm run test` to run the tests and check code coverage. Tests must pass and meet a certain coverage threshold to commit. See [the testing documentation](https://auro.alaskaair.com/support/tests) for more details.
|
|
217
183
|
|
|
218
184
|
<!-- AURO-GENERATED-CONTENT:END -->
|
package/demo/api.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { expandedExample } from "../apiExamples/expanded";
|
|
2
|
-
import
|
|
2
|
+
import "../src/registered.js";
|
|
3
3
|
|
|
4
4
|
export function initExamples(initCount) {
|
|
5
|
+
// biome-ignore lint/style/noParameterAssign: recursion, just for demos
|
|
5
6
|
initCount = initCount || 0;
|
|
6
7
|
|
|
7
8
|
try {
|
package/demo/api.md
CHANGED
|
@@ -507,15 +507,21 @@ The accordion can be programatically expanded or collapsed by setting the `expan
|
|
|
507
507
|
|
|
508
508
|
```js
|
|
509
509
|
export function expandedExample() {
|
|
510
|
-
const expandedExampleElem = document.querySelector(
|
|
510
|
+
const expandedExampleElem = document.querySelector(
|
|
511
|
+
"#auroaccordionExpandedExample",
|
|
512
|
+
);
|
|
511
513
|
|
|
512
|
-
document
|
|
513
|
-
|
|
514
|
-
|
|
514
|
+
document
|
|
515
|
+
.querySelector("#auroaccordionExpandedExampleBtnTrue")
|
|
516
|
+
.addEventListener("click", () => {
|
|
517
|
+
expandedExampleElem.expanded = true;
|
|
518
|
+
});
|
|
515
519
|
|
|
516
|
-
document
|
|
517
|
-
|
|
518
|
-
|
|
520
|
+
document
|
|
521
|
+
.querySelector("#auroaccordionExpandedExampleBtnFalse")
|
|
522
|
+
.addEventListener("click", () => {
|
|
523
|
+
expandedExampleElem.expanded = false;
|
|
524
|
+
});
|
|
519
525
|
}
|
|
520
526
|
```
|
|
521
527
|
<!-- AURO-GENERATED-CONTENT:END -->
|