Skip to content

Commit

Permalink
added select-all event to grid
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Lasky committed Nov 4, 2016
1 parent ae024c5 commit bf99707
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/strand-grid/doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,18 @@
]
}
],
"events": [
{
"type": "select-all",
"detail": [
{
"name":"selected",
"type":"Boolean",
"description":"The toggle state for the user-driven selection"
}
]
}
],
"behaviors": [
"resolvable",
"templatefindable",
Expand Down
1 change: 1 addition & 0 deletions src/strand-grid/strand-grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
this.set(path, value);
}, this);
}
this.fire('select-all', {selected:value});
},

get selected() {
Expand Down

0 comments on commit bf99707

Please sign in to comment.