You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: elements/pfe-content-set/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,14 @@
1
1
2
-
# PatternFly Content set Element
2
+
# PatternFly Content set
3
3
4
4
## Overview
5
5
6
6
`pfe-content-set` is a combo component, which brings together the utilities of the accordion and tabs components. Effectively both of these components do the same job, which is to encapsulate chunks of information under headings for easier browsing. Hiding some information and allowing the user to toggle through the headings to show other bits of information.
7
7
8
8
Since tabs can pose a layout issue on mobile because of the lack of horizontal space, this component will first assess the width of the parent container. If the width of pfe-content-set is less than or equal to 700px, the component will render the content within the `<pfe-accordion>` component. If it is larger than this value, the content will be rendered within the `<pfe-tabs>` component.
9
9
10
+
_Note:_ In IE11, the component will only render as accordions and never as tabs.
11
+
10
12
## Dependencies
11
13
12
14
Requires both the `pfe-accordion` and `pfe-tabs` components, as well as the base `pfelement`.
Copy file name to clipboardExpand all lines: elements/pfe-content-set/docs/index.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ Content set brings together the utilities of the accordion and tabs components.
20
20
21
21
Since tabs can pose a layout issue on mobile because of the lack of horizontal space, this component will first assess the width of the parent container. If the width of pfe-content-set is less than or equal to 700px, the component will render the content within the `<pfe-accordion>` component. If it is larger than this value, the content will be rendered within the `<pfe-tabs>` component.
22
22
23
+
_Note:_ In IE11, the component will only render as accordions and never as tabs.
24
+
23
25
### Large screens
24
26
On large screens the content will display as tabs.
0 commit comments