Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

feat(mdChips): Add md-on-select expression support. #4088

Closed
wants to merge 1 commit into from

Conversation

topherfangio
Copy link
Contributor

Users want a way to be notified when a chip is selected.

closes #3413

@topherfangio topherfangio added the pr: merge ready This PR is ready for a caretaker to review label Aug 11, 2015
@topherfangio
Copy link
Contributor Author

@typotter ready for review :-)

@typotter
Copy link
Contributor

LGTM

@topherfangio topherfangio added needs: work and removed pr: merge ready This PR is ready for a caretaker to review labels Aug 13, 2015
@topherfangio topherfangio added pr: merge ready This PR is ready for a caretaker to review and removed needs: work labels Aug 13, 2015
* after selecting a chip from the list.
* @type {boolean}
*/
this.useMdOnSelect = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a good convention. I recommend:

  • useMdOnAppend => useOnAppend
  • useMdOnRemove => useOnRemove
  • useMdOnSelectExpression => useOnSelectExpression

@topherfangio topherfangio added needs: work and removed pr: merge ready This PR is ready for a caretaker to review labels Aug 13, 2015
@topherfangio topherfangio added pr: merge ready This PR is ready for a caretaker to review and removed needs: work labels Aug 13, 2015
@topherfangio
Copy link
Contributor Author

@ThomasBurleson Updated based on feedback, should be ready for merge :-)

Users want a way to be notified when a chip is selected.

closes #3413
@topherfangio topherfangio deleted the chips_fix_3413 branch August 14, 2015 16:25
topherfangio added a commit that referenced this pull request Aug 14, 2015
Users want a way to be notified when a chip is selected.

fix #3413. closes #4088.
kennethcachia pushed a commit to kennethcachia/material that referenced this pull request Sep 23, 2015
Users want a way to be notified when a chip is selected.

fix angular#3413. closes angular#4088.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

md-chips: add "md-selected-item-change" event/method and allow selection on readonly
3 participants