Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit be4308b

Browse files
committed
Updates to sorting, toggling, documentation. Fix to accent color when toggling edit mode.
1 parent f276e99 commit be4308b

11 files changed

+436
-261
lines changed

editable-table-behaviors.html

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<!--
22
`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+
46
@microcopy - the mental model for this element
57
-
68
-
@@ -105,19 +107,20 @@
105107
*/
106108
getData: function(){
107109
let data = {
110+
"accentColor": this.accentColor,
111+
"bordered": !this.hideBordered ? this.bordered : null,
108112
"caption": this.caption,
109-
"summary": this.summary,
110113
"columnHeader": this.columnHeader,
111-
"rowHeader": this.rowHeader,
112-
"footer": this.footer,
113-
"bordered": !this.hideBordered ? this.bordered : null,
114114
"condensed": !this.hideCondensed ? this.condensed: null,
115115
"dark": !this.hideDark ? this.dark : null,
116-
"striped": !this.hideStriped ? this.striped : null,
117-
"sort": !this.hideSort ? this.sort : null,
116+
"data": this.data,
118117
"filter": !this.hideFilter ? this.filter : null,
118+
"footer": this.footer,
119+
"rowHeader": this.rowHeader,
119120
"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
121124
};
122125
return data;
123126
}
@@ -179,13 +182,6 @@
179182
hideStriped: {
180183
type: Boolean,
181184
value: false
182-
},
183-
/**
184-
* Hide the responsive menu option
185-
*/
186-
hideResponsive: {
187-
type: Boolean,
188-
value: false
189185
}
190186
}
191187
};

0 commit comments

Comments
 (0)