Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #33 from jeffposnick/patch-1
Browse files Browse the repository at this point in the history
Docs for the core-select event
  • Loading branch information
addyosmani committed Nov 13, 2014
2 parents 7bfd212 + 32613ec commit 8304ccc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions core-drawer-panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,19 @@
* @param {Object} detail
* @param {boolean} detail.narrow true if the panel is in narrow layout.
*/

/**
* Fired when the selected panel changes.
*
* Listening for this event is an alternative to observing changes in the `selected` attribute.
* This event is fired both when a panel is selected and deselected.
* The `isSelected` detail property contains the selection state.
*
* @event core-select
* @param {Object} detail
* @param {boolean} detail.isSelected true for selection and false for deselection
* @param {Object} detail.item the panel that the event refers to
*/

publish: {

Expand Down

0 comments on commit 8304ccc

Please sign in to comment.