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
This directory contains the componets required to vizualize and also print device settings
4
+
5
+
### print view
6
+
7
+
*Aim:*
8
+
To keep our componets as similar when viewed in the web app as when printed. Where varations occur, such as so we can show all settings in an open state, we have initially taken the approach outlined
9
+
10
+
*In the component:*
11
+
Based on the mode the component is being viewed in we have a prop that can be used and then the component be shown in a different state. In the settings instance it means showing all the settings sections expanded.
12
+
13
+
```
14
+
printView: React.PropTypes.bool.isRequired
15
+
```
16
+
17
+
*In the css:*
18
+
If there are any specific print styles these are contained in the section below. Of note are the `page-break`s. At this stage they have been done on a "best guess" and are specific to each comonent based on how we would ideally like the settings to be broken up when printing.
0 commit comments