We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9728b9e commit b9f86f8Copy full SHA for b9f86f8
.changeset/tabs-expand-event.md
@@ -0,0 +1,13 @@
1
+---
2
+"@patternfly/elements": minor
3
4
+`<pf-tabs>`: add `isExpandEvent` static method, to help prevent name conflicts
5
+
6
+```js
7
+import { PfTabs } from '@patternfly/elements/pf-tabs/pf-tabs.js';
8
+document.addEventListener('expand', function(event) {
9
+ if (PfTabs.isExpandEvent(event)) {
10
+ // a pf-tabs' tab has expanded
11
+ }
12
+});
13
+```
0 commit comments