|
1 | 1 | <!-- |
2 | 2 | `editable-table-behaviors` |
3 | | -A set of behaviors for a11y-media components. |
| 3 | +
|
| 4 | +A set of common behaviors for editable-table web components. |
| 5 | +
|
4 | 6 | @microcopy - the mental model for this element |
5 | 7 | - |
6 | 8 | - |
|
105 | 107 | */ |
106 | 108 | getData: function(){ |
107 | 109 | let data = { |
| 110 | + "accentColor": this.accentColor, |
| 111 | + "bordered": !this.hideBordered ? this.bordered : null, |
108 | 112 | "caption": this.caption, |
109 | | - "summary": this.summary, |
110 | 113 | "columnHeader": this.columnHeader, |
111 | | - "rowHeader": this.rowHeader, |
112 | | - "footer": this.footer, |
113 | | - "bordered": !this.hideBordered ? this.bordered : null, |
114 | 114 | "condensed": !this.hideCondensed ? this.condensed: null, |
115 | 115 | "dark": !this.hideDark ? this.dark : null, |
116 | | - "striped": !this.hideStriped ? this.striped : null, |
117 | | - "sort": !this.hideSort ? this.sort : null, |
| 116 | + "data": this.data, |
118 | 117 | "filter": !this.hideFilter ? this.filter : null, |
| 118 | + "footer": this.footer, |
| 119 | + "rowHeader": this.rowHeader, |
119 | 120 | "scroll": !this.hideScroll ? this.scroll : null, |
120 | | - "data": this.data, |
| 121 | + "sort": !this.hideSort ? this.sort : null, |
| 122 | + "striped": !this.hideStriped ? this.striped : null, |
| 123 | + "summary": this.summary |
121 | 124 | }; |
122 | 125 | return data; |
123 | 126 | } |
|
179 | 182 | hideStriped: { |
180 | 183 | type: Boolean, |
181 | 184 | value: false |
182 | | - }, |
183 | | - /** |
184 | | - * Hide the responsive menu option |
185 | | - */ |
186 | | - hideResponsive: { |
187 | | - type: Boolean, |
188 | | - value: false |
189 | 185 | } |
190 | 186 | } |
191 | 187 | }; |
|
0 commit comments