Skip to content

Only button toggle is supported but not Icon toggle according to the specs #6475

Open
@richardsengers

Description

@richardsengers

Bug, feature request, or proposal:

Feature request / Bug

What is the expected behavior?

Icon toggle with same behaviour as button-toggle according to the Specs
https://material.io/guidelines/components/buttons.html#buttons-toggle-buttons

What is the current behavior?

You can only set a button toggle and not an icon toggle

What is the use-case or motivation for changing an existing behavior?

According to the specs an Icon toggle is part of the material design

Is there anything else we should know?

To me it looks like material2 is currently only supporting Button toggles, but no Icon toggles.
An example can be found here: http://mseemann.io/angular2-mdl/toggle
and is as simple as
<mdl-icon-toggle [(ngModel)]="checkbox1">format_bold</mdl-icon-toggle>

If this is already possible with material2 I would really like to know how ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P5The team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/button-togglearea: material/iconfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions