Skip to content

Commit

Permalink
When tabbing is enabled, switching tabs now shows a nice fade-in tran…
Browse files Browse the repository at this point in the history
…sition.
  • Loading branch information
William Troup committed Sep 6, 2024
1 parent a1b2497 commit 7b90c50
Show file tree
Hide file tree
Showing 10 changed files with 145 additions and 99 deletions.
2 changes: 2 additions & 0 deletions dist/syntax.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,11 @@ var require_syntax = __commonJS({
}
for (let e = 0; e < i; e++) {
n[e].style.display = "none";
n[e].classList.remove("tab-switch");
}
l.className = "tab-active";
r.tabContents.style.display = "flex";
r.tabContents.classList.add("tab-switch");
if (Is.definedObject(o)) {
Trigger.customEvent(o.events.onOpen, s);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/syntax.esm.js.map

Large diffs are not rendered by default.

190 changes: 96 additions & 94 deletions dist/syntax.js

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions dist/syntax.js.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/syntax.js.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/syntax.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 7b90c50

Please sign in to comment.