@aurodesignsystem-dev/auro-accordion 0.0.0-pr213.0 → 0.0.0-pr214.1
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/README.md +135 -84
- package/custom-elements.json +1014 -641
- package/demo/api.js +2 -0
- package/demo/api.md +309 -235
- package/demo/api.min.js +16 -3
- package/demo/auro-accordion.min.js +15 -16
- package/demo/index.md +16 -11
- package/dist/{auro-accordion-Dlfg1ee3.js → auro-accordion-B5LyAZiI.js} +2 -2
- package/dist/index.d.ts +247 -125
- package/dist/index.js +1 -1
- package/dist/registered.js +1 -1
- package/package.json +7 -7
package/demo/api.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { expandedExample } from "../apiExamples/expanded";
|
|
2
|
+
import { toggleExample } from "../apiExamples/toggle";
|
|
2
3
|
import "../src/registered.js";
|
|
3
4
|
|
|
4
5
|
export function initExamples(initCount) {
|
|
@@ -7,6 +8,7 @@ export function initExamples(initCount) {
|
|
|
7
8
|
|
|
8
9
|
try {
|
|
9
10
|
expandedExample();
|
|
11
|
+
toggleExample();
|
|
10
12
|
} catch {
|
|
11
13
|
if (initCount <= 20) {
|
|
12
14
|
// setTimeout handles issue where content is sometimes loaded after the functions get called
|