Angular Material Widgets - Radio Buttons - Angular Material

Attributes - md-radio-group

S.N.

Parameter & Description

1

* ng-model
Assignable angular expression to data-bind to.

2

md-no-ink
Use of attribute indicates flag to disable ink ripple effects.

Attributes - md-radio-button

S.N.

Parameter & Description

1

* ng-model
Assignable angular expression to data-bind to.

2

* ngValue
Angular expression which sets the value to which the expression should be set when selected.

3

* value
The value to which the expression should be set when selected.

4

ngChange
Angular expression to be executed when input changes due to user interaction with the input element.

5

name
Property name of the form under which the control is published.

6

aria-label
Adds label to radio button for accessibility. Defaults to radio button's text. If no text content is available, a warning will be logged.

Example


The following example showcases the use of md-radio-group and md-radio-button directives to showcase uses of radio buttons.


am_radiobuttons.htm


Result

Confirm the result.

Radio Buttons

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Angular Material Topics