Skip to content

Add readme and package.json files to the button toggle #925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Aug 1, 2016

Conversation

iveysaur
Copy link
Contributor

Add README.md and package.json for button toggle.

R: @jelbourn @kara
CC: @hansl @robertmesserle

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jul 27, 2016
# MdButtonToggle

`MdButtonToggle` is a group of buttons that can be toggled. There are two modes, `multiple` and
`exclusive`. `Multiple` is a group in which multiple buttons can be toggled at once. `Exclusive` is
Copy link
Contributor

@kara kara Jul 27, 2016

Choose a reason for hiding this comment

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

I think it might be clearer if you say "selected" here, rather than "toggled". Technically all of them can be toggled in any mode, but only one (or multiple) can be selected. How about:

When in 'multiple' mode, multiple buttons can be selected at once.  
When in 'exclusive' mode, only one button can be selected at a time.

@iveysaur
Copy link
Contributor Author

@kara: addressed comments aside from images which will be added tomorrow.

Does the order look better? I'm also not entirely sure I did a good job at explaining the dynamic section. I also kept the paragraph about multiple and selection in the same place because they were just floating around if I moved them after the setup, is that okay?

@iveysaur
Copy link
Contributor Author

@kara: addressed comments

### Setup

Importing the symbols:
```typescript
Copy link
Member

Choose a reason for hiding this comment

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

nit: you can put ts instead of writing out typescript

@iveysaur
Copy link
Contributor Author

@jelbourn: Addressed comments.


`MdButtonToggle` is a group of buttons that can be toggled.
There are two modes, `multiple` and `exclusive`.
When in 'exclusive'mode, only one button can be selected at a time (like radio buttons).
Copy link
Contributor

Choose a reason for hiding this comment

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

missing a space between 'exclusive' and 'mode'

@kara
Copy link
Contributor

kara commented Jul 28, 2016

LGTM once you fix that space :)

@jelbourn
Copy link
Member

LGTM

@iveysaur iveysaur added the action: merge The PR is ready for merge by the caretaker label Jul 28, 2016
@iveysaur iveysaur changed the title Button toggle readme and package.json Add readme and package.json files to the button toggle Jul 31, 2016
@jelbourn jelbourn merged commit 199404b into angular:master Aug 1, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants